Skip to content

Commit

Permalink
ext4: fix compile with CONFIG_EXT4_FS_XATTR disabled
Browse files Browse the repository at this point in the history
Commit 5dabfc7 ("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>
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Oct 28, 2010
1 parent 90a2b69 commit 19ef201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ext4/xattr.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 19ef201

Please sign in to comment.