summaryrefslogtreecommitdiffstats
path: root/fs/ext3
diff options
context:
space:
mode:
authorRashika Kheria <rashika.kheria@gmail.com>2014-02-09 18:39:11 +0530
committerJan Kara <jack@suse.cz>2014-03-03 11:31:00 +0100
commit7d6c2113505eb88a09949ed671d51c8c01cf7bb6 (patch)
tree9858a946627292a5336f9077c14b9565a064a453 /fs/ext3
parent8ccb154c0e9b316999f518dd5fd0a4d2db3089af (diff)
downloadblackbird-op-linux-7d6c2113505eb88a09949ed671d51c8c01cf7bb6.tar.gz
blackbird-op-linux-7d6c2113505eb88a09949ed671d51c8c01cf7bb6.zip
fs: Mark function as static in ext3/xattr_security.c
Mark function as static in ext3/xattr_security.c because it is not used outside this file. This eliminates the following warning in ext3/xattr_security.c: fs/ext3/xattr_security.c:46:5: warning: no previous prototype for ‘ext3_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/ext3')
-rw-r--r--fs/ext3/xattr_security.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ext3/xattr_security.c b/fs/ext3/xattr_security.c
index 3387664ad70e..722c2bf9645d 100644
--- a/fs/ext3/xattr_security.c
+++ b/fs/ext3/xattr_security.c
@@ -43,8 +43,9 @@ ext3_xattr_security_set(struct dentry *dentry, const char *name,
name, value, size, flags);
}
-int ext3_initxattrs(struct inode *inode, const struct xattr *xattr_array,
- void *fs_info)
+static int ext3_initxattrs(struct inode *inode,
+ const struct xattr *xattr_array,
+ void *fs_info)
{
const struct xattr *xattr;
handle_t *handle = fs_info;
OpenPOWER on IntegriCloud