Skip to content

Commit

Permalink
ext4: make local symbol ext4_initxattrs static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Djalal Harouni authored and Theodore Ts'o committed Jan 5, 2012
1 parent 9837d8e commit 176576d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fs/ext4/xattr_security.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 176576d

Please sign in to comment.