linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] ext4/super.c: fix #ifdef's
@ 2007-11-05 17:07 Adrian Bunk
  2007-11-05 23:09 ` Mingming Cao
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-11-05 17:07 UTC (permalink / raw)
  To: sct, akpm, adilger; +Cc: linux-ext4, linux-kernel, Robert P. J. Day

This patch fixes the names of two variables in #ifdef's.

Based on a report by Robert P. J. Day.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

 fs/ext4/super.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

44e9889e6a3952ea225704b2e494d31e00f34a6b 
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 8031dc0..6673672 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -646,7 +646,7 @@ static int ext4_show_options(struct seq_file *seq, struct vfsmount *vfs)
 		seq_puts(seq, ",debug");
 	if (test_opt(sb, OLDALLOC))
 		seq_puts(seq, ",oldalloc");
-#ifdef CONFIG_EXT4_FS_XATTR
+#ifdef CONFIG_EXT4DEV_FS_XATTR
 	if (test_opt(sb, XATTR_USER))
 		seq_puts(seq, ",user_xattr");
 	if (!test_opt(sb, XATTR_USER) &&
@@ -654,7 +654,7 @@ static int ext4_show_options(struct seq_file *seq, struct vfsmount *vfs)
 		seq_puts(seq, ",nouser_xattr");
 	}
 #endif
-#ifdef CONFIG_EXT4_FS_POSIX_ACL
+#ifdef CONFIG_EXT4DEV_FS_POSIX_ACL
 	if (test_opt(sb, POSIX_ACL))
 		seq_puts(seq, ",acl");
 	if (!test_opt(sb, POSIX_ACL) && (def_mount_opts & EXT4_DEFM_ACL))

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-05 23:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-05 17:07 [2.6 patch] ext4/super.c: fix #ifdef's Adrian Bunk
2007-11-05 23:09 ` Mingming Cao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).