aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext2/xattr_security.c
diff options
context:
space:
mode:
authorRashika Kheria <rashika.kheria@gmail.com>2014-02-09 08:04:10 -0500
committerJan Kara <jack@suse.cz>2014-03-03 05:30:59 -0500
commit17cd48e488c0a07186ad35af2a02738cfc1c1229 (patch)
treec5cd72508b63597a8bd32d8548baaf4f54498274 /fs/ext2/xattr_security.c
parent1da8b822f809b621f34e8cdac2f40c93dcc2d348 (diff)
fs: Mark function as static in ext2/xattr_security.c
Mark function as static in ext2/xattr_security.c because it is not used outside this file. This also elimiantes the following warning in ext2/xattr_security.c: fs/ext2/xattr_security.c:45:5: warning: no previous prototype for ‘ext2_initxattrs’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext2/xattr_security.c')
-rw-r--r--fs/ext2/xattr_security.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext2/xattr_security.c b/fs/ext2/xattr_security.c
index cfedb2cb0d8c..c0ebc4db8849 100644
--- a/fs/ext2/xattr_security.c
+++ b/fs/ext2/xattr_security.c
@@ -42,8 +42,8 @@ ext2_xattr_security_set(struct dentry *dentry, const char *name,
42 value, size, flags); 42 value, size, flags);
43} 43}
44 44
45int ext2_initxattrs(struct inode *inode, const struct xattr *xattr_array, 45static int ext2_initxattrs(struct inode *inode, const struct xattr *xattr_array,
46 void *fs_info) 46 void *fs_info)
47{ 47{
48 const struct xattr *xattr; 48 const struct xattr *xattr;
49 int err = 0; 49 int err = 0;