aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lustre/llite/file.c
diff options
context:
space:
mode:
authorLuca Ceresoli <luca@lucaceresoli.net>2015-01-18 15:06:50 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-25 19:59:15 +0800
commit920b4f2eca925559d6a873e6bc695fa6c627321e (patch)
tree3b7dadcee341641339419d062e9af159f7272316 /drivers/staging/lustre/lustre/llite/file.c
parentstaging: lustre: libcfs: declare internal symbols as static (diff)
downloadlinux-dev-920b4f2eca925559d6a873e6bc695fa6c627321e.tar.xz
linux-dev-920b4f2eca925559d6a873e6bc695fa6c627321e.zip
staging: lustre: llite: declare internal symbols as static
Fixes sparse warnings like: warning: symbol '...' was not declared. Should it be static? Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Cc: Peng Tao <bergwolf@gmail.com> Cc: Jinshan Xiong <jinshan.xiong@intel.com> Cc: Srikrishan Malik <srikrishanmalik@gmail.com> Cc: HPDD-discuss@lists.01.org Cc: devel@driverdev.osuosl.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/llite/file.c')
-rw-r--r--drivers/staging/lustre/lustre/llite/file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/llite/file.c b/drivers/staging/lustre/lustre/llite/file.c
index 35a2df01528c..ca270f49e6aa 100644
--- a/drivers/staging/lustre/lustre/llite/file.c
+++ b/drivers/staging/lustre/lustre/llite/file.c
@@ -1587,7 +1587,8 @@ ll_get_grouplock(struct inode *inode, struct file *file, unsigned long arg)
return 0;
}
-int ll_put_grouplock(struct inode *inode, struct file *file, unsigned long arg)
+static int ll_put_grouplock(struct inode *inode, struct file *file,
+ unsigned long arg)
{
struct ll_inode_info *lli = ll_i2info(inode);
struct ll_file_data *fd = LUSTRE_FPRIVATE(file);