ext4: make local symbol ext4_initxattrs static
authorDjalal Harouni <tixxdz@opendz.org>
Thu, 5 Jan 2012 03:32:12 +0000 (22:32 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 5 Jan 2012 03:32:12 +0000 (22:32 -0500)
The ext4_initxattrs symbol is used only in this file, so it should be
declared static.

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/xattr_security.c

index 34e4350dd4d92f2ee2273a909b3f1b85867cf580..e247f8bca8e4573ecf19e281386c69ee508b266b 100644 (file)
@@ -48,8 +48,9 @@ ext4_xattr_security_set(struct dentry *dentry, const char *name,
                              name, value, size, flags);
 }
 
-int ext4_initxattrs(struct inode *inode, const struct xattr *xattr_array,
-                   void *fs_info)
+static int
+ext4_initxattrs(struct inode *inode, const struct xattr *xattr_array,
+               void *fs_info)
 {
        const struct xattr *xattr;
        handle_t *handle = fs_info;
This page took 0.06671 seconds and 5 git commands to generate.