summaryrefslogtreecommitdiffstats
path: root/fs/ext4/xattr.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2010-10-28 03:30:14 +0200
committerTheodore Ts'o <tytso@mit.edu>2010-10-28 03:30:14 +0200
commit5dabfc78dcedbe46cb2e4872dde448de3cec2979 (patch)
tree804ef3e76289978ef6690c2b8f379a14a60b15f0 /fs/ext4/xattr.h
parentext4: fix kernel oops if the journal superblock has a non-zero j_errno (diff)
downloadlinux-5dabfc78dcedbe46cb2e4872dde448de3cec2979.tar.xz
linux-5dabfc78dcedbe46cb2e4872dde448de3cec2979.zip
ext4: rename {exit,init}_ext4_*() to ext4_{exit,init}_*()
This is a cleanup to avoid namespace leaks out of fs/ext4 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to '')
-rw-r--r--fs/ext4/xattr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ext4/xattr.h b/fs/ext4/xattr.h
index 518e96e43905..281dd8353652 100644
--- a/fs/ext4/xattr.h
+++ b/fs/ext4/xattr.h
@@ -83,8 +83,8 @@ extern void ext4_xattr_put_super(struct super_block *);
extern int ext4_expand_extra_isize_ea(struct inode *inode, int new_extra_isize,
struct ext4_inode *raw_inode, handle_t *handle);
-extern int init_ext4_xattr(void);
-extern void exit_ext4_xattr(void);
+extern int __init ext4_init_xattr(void);
+extern void ext4_exit_xattr(void);
extern const struct xattr_handler *ext4_xattr_handlers[];
@@ -121,14 +121,14 @@ ext4_xattr_put_super(struct super_block *sb)
{
}
-static inline int
+static __init inline int
init_ext4_xattr(void)
{
return 0;
}
static inline void
-exit_ext4_xattr(void)
+ext4_exit_xattr(void)
{
}