linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ext4/super.c: Fix error in ext4_fill_super: ext3_fs_type undeclared (first use in this function)
@ 2010-03-24 11:45 Sedat Dilek
  2010-03-24 16:13 ` tytso
  0 siblings, 1 reply; 3+ messages in thread
From: Sedat Dilek @ 2010-03-24 11:45 UTC (permalink / raw)
  To: linux-ext4; +Cc: Theodore Ts'o, Jan Kara

[-- Attachment #1: Type: text/plain, Size: 122 bytes --]

Not sure if this is really fixing the problem in [1].

--
Sedat

[1] http://marc.info/?l=linux-ext4&m=126942870916446&w=2

[-- Attachment #2: 0001-ext4-super.c-Fix-error-in-ext4_fill_super-ext3_fs_ty.patch --]
[-- Type: text/x-diff, Size: 922 bytes --]

From 722b3ac46df769e5e759b6f824982d34e14037b4 Mon Sep 17 00:00:00 2001
From: Sedat Dilek <sedat.dilek@gmail.com>
Date: Wed, 24 Mar 2010 12:22:34 +0100
Subject: [PATCH] ext4/super.c: Fix error in ext4_fill_super: ext3_fs_type undeclared (first use in this function)

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

diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 1dbb37a..2dacc82 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -2550,7 +2550,9 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
 	 * enable delayed allocation by default
 	 * Use -o nodelalloc to turn it off
 	 */
+#if !defined(CONFIG_EXT3_FS) && !defined(CONFIG_EXT3_FS_MODULE) && defined(CONFIG_EXT4_USE_FOR_EXT23)	
 	if (sb->s_bdev->bd_holder != &ext3_fs_type)
+#endif
 		set_opt(sbi->s_mount_opt, DELALLOC);
 
 	if (!parse_options((char *) data, sb, &journal_devnum,
-- 
1.7.0.3


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

end of thread, other threads:[~2010-03-24 16:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-24 11:45 [PATCH] ext4/super.c: Fix error in ext4_fill_super: ext3_fs_type undeclared (first use in this function) Sedat Dilek
2010-03-24 16:13 ` tytso
2010-03-24 16:59   ` Sedat Dilek

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).