aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/xattr.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2010-10-28 03:56:31 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-28 12:29:17 -0400
commit19ef20143ff86c8012270c619ac7b6c3b389a8fa (patch)
tree6ba0b8b2ddf437161c1d7028ea5863005c4e2fe2 /fs/ext4/xattr.h
parent90a2b69c14d0f0b6cbd124caf429ae9033f0615c (diff)
ext4: fix compile with CONFIG_EXT4_FS_XATTR disabled
Commit 5dabfc78dced ("ext4: rename {exit,init}_ext4_*() to ext4_{exit,init}_*()") causes fs/ext4/super.c:4776: error: implicit declaration of function ‘ext4_init_xattr’ when CONFIG_EXT4_FS_XATTR is disabled. It renamed init_ext4_xattr to ext4_init_xattr but forgot to update the dummy definition in fs/ext4/xattr.h. Signed-off-by: Ingo Molnar <mingo@elte.hu> Acked-by: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ext4/xattr.h')
-rw-r--r--fs/ext4/xattr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/xattr.h b/fs/ext4/xattr.h
index 281dd8353652..1ef16520b950 100644
--- a/fs/ext4/xattr.h
+++ b/fs/ext4/xattr.h
@@ -122,7 +122,7 @@ ext4_xattr_put_super(struct super_block *sb)
122} 122}
123 123
124static __init inline int 124static __init inline int
125init_ext4_xattr(void) 125ext4_init_xattr(void)
126{ 126{
127 return 0; 127 return 0;
128} 128}