提交 19ef2014 编写于 作者: I Ingo Molnar 提交者: Linus Torvalds

ext4: fix compile with CONFIG_EXT4_FS_XATTR disabled

Commit 5dabfc78 ("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: NIngo Molnar <mingo@elte.hu>
Acked-by: N"Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 90a2b69c
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册