From 04ee02f542b13d9e4114a2cac86b02874a658324 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Thu, 28 Oct 2010 12:01:17 -0400 Subject: [PATCH 1/2] ext4: Fix build when !CONFIG_EXT4_FS_XATTR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit > Theodore Ts'o (18): > ext4: rename {exit,init}_ext4_*() to ext4_{exit,init}_*() Today's -tip fails to build due to upstream commit 5dabfc7 ("ext4: rename {exit,init}_ext4_*() to ext4_{exit,init}_*()"), on all[yes/mod]config with CONFIG_EXT4_FS_XATTR disabled: fs/ext4/super.c:4776: error: implicit declaration of function ‘ext4_init_xattr’ Commit 5dabfc7 renamed init_ext4_xattr to ext4_init_xattr but forgot to update the definition in fs/ext4/xattr.h. The patch below fixes it. [ Mea culpa, mea culpa, mea maximum culpa -Ted ] Signed-off-by: Ingo Molnar Signed-off-by: "Theodore Ts'o" --- fs/ext4/xattr.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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; } -- 1.7.2.3