From 19ef20143ff86c8012270c619ac7b6c3b389a8fa Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Thu, 28 Oct 2010 09:56:31 +0200 Subject: ext4: fix compile with CONFIG_EXT4_FS_XATTR disabled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Acked-by: "Theodore Ts'o" Signed-off-by: Linus Torvalds diff --git a/fs/ext4/xattr.h b/fs/ext4/xattr.h index 281dd83..1ef1652 100644 --- a/fs/ext4/xattr.h +++ b/fs/ext4/xattr.h @@ -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; } -- cgit v0.10.2