[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151022163655.GA111096@roam>
Date: Fri, 23 Oct 2015 00:36:55 +0800
From: kbuild test robot <lkp@...el.com>
To: Benjamin Coddington <bcodding@...hat.com>
Cc: kbuild-all@...org, Jeff Layton <jlayton@...chiereds.net>,
"J. Bruce Fields" <bfields@...ldses.org>,
Alexander Viro <viro@...iv.linux.org.uk>,
Latchesar Ionkov <lucho@...kov.net>,
linux-fsdevel@...r.kernel.org,
Trond Myklebust <trond.myklebust@...marydata.com>,
devel@...verdev.osuosl.org, Yan Zheng <zyan@...hat.com>,
cluster-devel@...hat.com, Sage Weil <sage@...hat.com>,
Miklos Szeredi <miklos@...redi.hu>,
Christoph Hellwig <hch@...radead.org>,
fuse-devel@...ts.sourceforge.net,
Christine Caulfield <ccaulfie@...hat.com>,
v9fs-developer@...ts.sourceforge.net,
Ilya Dryomov <idryomov@...il.com>, linux-cifs@...r.kernel.org,
Eric Van Hensbergen <ericvh@...il.com>,
Mark Fasheh <mfasheh@...e.com>,
Oleg Drokin <oleg.drokin@...el.com>,
Julia Lawall <Julia.Lawall@...6.fr>,
David Teigland <teigland@...hat.com>,
Joel Becker <jlbec@...lplan.org>, ceph-devel@...r.kernel.org,
Abdul Hussain <habdul@...teon.com>,
Steven Whitehouse <swhiteho@...hat.com>,
linux-nfs@...r.kernel.org,
Andreas Dilger <andreas.dilger@...el.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
samba-technical@...ts.samba.org, linux-kernel@...r.kernel.org,
Steve French <sfrench@...ba.org>,
Bob Peterson <rpeterso@...hat.com>,
Ron Minnich <rminnich@...dia.gov>,
Anna Schumaker <anna.schumaker@...app.com>,
ocfs2-devel@....oracle.com, lustre-devel@...ts.lustre.org
Subject: [RFC PATCH] locks: posix_lock_inode_wait() can be static
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
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();
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists