From patchwork Thu Oct 22 16:36:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 7532131 Return-Path: X-Original-To: patchwork-v9fs-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 90E42BEEA4 for ; Sun, 1 Nov 2015 13:56:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 72F60206B6 for ; Sun, 1 Nov 2015 13:56:58 +0000 (UTC) Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6AA0A20654 for ; Sun, 1 Nov 2015 13:56:57 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-2.v29.ch3.sourceforge.com) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Zst7v-0004eI-H9; Sun, 01 Nov 2015 13:56:55 +0000 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1ZpIsH-0008F6-BC; Thu, 22 Oct 2015 16:37:57 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of intel.com designates 134.134.136.65 as permitted sender) client-ip=134.134.136.65; envelope-from=fengguang.wu@intel.com; helo=mga03.intel.com; Received: from mga03.intel.com ([134.134.136.65]) by sog-mx-1.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1ZpIsG-0008H6-IK; Thu, 22 Oct 2015 16:37:57 +0000 Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 22 Oct 2015 09:37:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,183,1444719600"; d="scan'208";a="669663035" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga003.jf.intel.com with ESMTP; 22 Oct 2015 09:37:43 -0700 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1ZpIrs-000Efx-0A; Fri, 23 Oct 2015 00:37:32 +0800 Date: Fri, 23 Oct 2015 00:36:55 +0800 From: kbuild test robot To: Benjamin Coddington Message-ID: <20151022163655.GA111096@roam> References: <201510230020.vZvDxsE7%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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 X-Spam-Score: -0.8 (/) X-Headers-End: 1ZpIsG-0008H6-IK X-Mailman-Approved-At: Sun, 01 Nov 2015 13:56:53 +0000 Cc: Latchesar Ionkov , Christoph Hellwig , Trond Myklebust , "J. Bruce Fields" , Julia Lawall , Jeff Layton , devel@driverdev.osuosl.org, linux-cifs@vger.kernel.org, Sage Weil , Miklos Szeredi , Steve French , cluster-devel@redhat.com, Eric Van Hensbergen , Christine Caulfield , v9fs-developer@lists.sourceforge.net, Ilya Dryomov , fuse-devel@lists.sourceforge.net, Mark Fasheh , Oleg Drokin , Bob Peterson , David Teigland , Alexander Viro , ceph-devel@vger.kernel.org, Abdul Hussain , Steven Whitehouse , linux-nfs@vger.kernel.org, Andreas Dilger , Greg Kroah-Hartman , samba-technical@lists.samba.org, linux-kernel@vger.kernel.org, Yan Zheng , kbuild-all@01.org, linux-fsdevel@vger.kernel.org, Ron Minnich , lustre-devel@lists.lustre.org, Anna Schumaker , ocfs2-devel@oss.oracle.com, Joel Becker Subject: [V9fs-developer] [RFC PATCH] locks: posix_lock_inode_wait() can be static X-BeenThere: v9fs-developer@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: v9fs-developer-bounces@lists.sourceforge.net X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Fengguang Wu --- locks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ------------------------------------------------------------------------------ diff --git a/fs/locks.c b/fs/locks.c index daf4664..0d2b326 100644 --- a/fs/locks.c +++ b/fs/locks.c @@ -1173,7 +1173,7 @@ EXPORT_SYMBOL(posix_lock_file); * * Apply a POSIX style lock request to an inode. */ -int posix_lock_inode_wait(struct inode *inode, struct file_lock *fl) +static int posix_lock_inode_wait(struct inode *inode, struct file_lock *fl) { int error; might_sleep (); @@ -1860,7 +1860,7 @@ int fcntl_setlease(unsigned int fd, struct file *filp, long arg) * * Apply a FLOCK style lock request to an inode. */ -int flock_lock_inode_wait(struct inode *inode, struct file_lock *fl) +static int flock_lock_inode_wait(struct inode *inode, struct file_lock *fl) { int error; might_sleep();