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: 911657 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-cifs-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 40hs3W5YWTz9s1p for ; Fri, 11 May 2018 10:51:19 +1000 (AEST) 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 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);