summaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorDjalal Harouni <tixxdz@opendz.org>2012-01-04 22:32:12 -0500
committerTheodore Ts'o <tytso@mit.edu>2012-01-04 22:32:12 -0500
commit176576dbc8141528557eeeb007af2d5a2a4891ef (patch)
tree6c5914f0c71680317624b7a9926a4f2ad6f3e724 /fs/ext4
parent9837d8e982b7e87a7207f90618e45d460e196e6a (diff)
downloadlinux-176576dbc8141528557eeeb007af2d5a2a4891ef.tar.bz2
ext4: make local symbol ext4_initxattrs static
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>
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/xattr_security.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ext4/xattr_security.c b/fs/ext4/xattr_security.c
index 34e4350dd4d9..e247f8bca8e4 100644
--- a/fs/ext4/xattr_security.c
+++ b/fs/ext4/xattr_security.c
@@ -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;