From patchwork Fri May 11 00:50:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 10392719 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3209B60153 for ; Fri, 11 May 2018 00:51:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 209E128DA7 for ; Fri, 11 May 2018 00:51:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 12AF028DB3; Fri, 11 May 2018 00:51:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8423C28DAE for ; Fri, 11 May 2018 00:51:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750806AbeEKAvS (ORCPT ); Thu, 10 May 2018 20:51:18 -0400 Received: from mga02.intel.com ([134.134.136.20]:55170 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750746AbeEKAvR (ORCPT ); Thu, 10 May 2018 20:51:17 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 May 2018 17:51:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,387,1520924400"; d="scan'208";a="54205652" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga001.fm.intel.com with ESMTP; 10 May 2018 17:51:15 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fGwHD-00031M-1x; Fri, 11 May 2018 08:51:15 +0800 Date: Fri, 11 May 2018 08:50:26 +0800 From: kbuild test robot To: Steve French Cc: kbuild-all@01.org, linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, Ronnie Sahlberg , Pavel Shilovsky , linux-kernel@vger.kernel.org Subject: [RFC PATCH cifs] smb3: cifs_dir_fsync() can be static Message-ID: <20180511005026.GA57926@lkp-sb04> References: <201805110802.lpBxehxn%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201805110802.lpBxehxn%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: c3d5c2a93abf ("smb3: directory sync should not return an error") Signed-off-by: Fengguang Wu --- cifsfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 8e41186..62f1662 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c @@ -1053,7 +1053,7 @@ ssize_t cifs_file_copychunk_range(unsigned int xid, * Directory operations under CIFS/SMB2/SMB3 are synchronous, so fsync() * is a dummy operation. */ -int cifs_dir_fsync(struct file *file, loff_t start, loff_t end, int datasync) +static int cifs_dir_fsync(struct file *file, loff_t start, loff_t end, int datasync) { cifs_dbg(FYI, "Sync directory - name: %pD datasync: 0x%x\n", file, datasync);