ext4: fix compile with CONFIG_EXT4_FS_XATTR disabled
authorIngo Molnar <mingo@elte.hu>
Thu, 28 Oct 2010 07:56:31 +0000 (09:56 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Oct 2010 16:29:17 +0000 (09:29 -0700)
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>
fs/ext4/xattr.h

index 281dd8353652454145754eec177f133f036c28f1..1ef16520b950c8a4c0c5385ee24f620b147065e2 100644 (file)
@@ -122,7 +122,7 @@ ext4_xattr_put_super(struct super_block *sb)
 }
 
 static __init inline int
-init_ext4_xattr(void)
+ext4_init_xattr(void)
 {
        return 0;
 }