]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
staging: lustre: llite_lib.c Set ll_md_setattr function to be static
authorRamon Fried <ramon.fried@gmail.com>
Thu, 25 Sep 2014 18:05:06 +0000 (21:05 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Sep 2014 02:04:58 +0000 (22:04 -0400)
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>
drivers/staging/lustre/lustre/llite/llite_lib.c

index 59e36b0cf94bebf92dc85a71092ba8877ddf6b64..a8bcc51057f19306b3b31605a1c1af5d83c8a6b6 100644 (file)
@@ -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;