summaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorDjalal Harouni <tixxdz@opendz.org>2012-01-05 04:32:12 +0100
committerTheodore Ts'o <tytso@mit.edu>2012-01-05 04:32:12 +0100
commit176576dbc8141528557eeeb007af2d5a2a4891ef (patch)
tree6c5914f0c71680317624b7a9926a4f2ad6f3e724 /fs/ext4
parentjbd2: fix hung processes in jbd2_journal_lock_updates() (diff)
downloadlinux-176576dbc8141528557eeeb007af2d5a2a4891ef.tar.xz
linux-176576dbc8141528557eeeb007af2d5a2a4891ef.zip
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;