summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre
diff options
context:
space:
mode:
authorRamon Fried <ramon.fried@gmail.com>2014-09-25 21:05:06 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-28 22:04:58 -0400
commit3d3ab8cc684cda4058959d91ed42735d9d605d61 (patch)
treedf8cb43eddbca646f725b1fc9148a38e431eb5e2 /drivers/staging/lustre
parent80190ca3e17dc804ccf0a41580993563f136bcab (diff)
staging: lustre: llite_lib.c Set ll_md_setattr function to be static
This fixes the following sparse warning: llite_lib.c:1240:5: warning: symbol 'll_md_setattr' was not declared. Should it be static? Signed-off-by: Ramon Fried <ramon.fried@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre')
-rw-r--r--drivers/staging/lustre/lustre/llite/llite_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/llite/llite_lib.c b/drivers/staging/lustre/lustre/llite/llite_lib.c
index 59e36b0cf94b..a8bcc51057f1 100644
--- a/drivers/staging/lustre/lustre/llite/llite_lib.c
+++ b/drivers/staging/lustre/lustre/llite/llite_lib.c
@@ -1237,7 +1237,7 @@ void ll_clear_inode(struct inode *inode)
lli->lli_has_smd = false;
}
-int ll_md_setattr(struct dentry *dentry, struct md_op_data *op_data,
+static int ll_md_setattr(struct dentry *dentry, struct md_op_data *op_data,
struct md_open_data **mod)
{
struct lustre_md md;