Re: [PATCH] Reorder ext4 and ext2 so that ext2 root filesystemsare mounted using ext2

From: David Fries
Date: Sat Feb 28 2009 - 09:40:21 EST


On Sat, Feb 28, 2009 at 09:24:20AM -0500, Theodore Ts'o wrote:
> It's doubtful that there are that many ext2-only root filesystem users
> that would also have ext4 compiled into the kernel, but to adhere to
> the principle of least surprise, the correct ordering in fs/Makefile
> is ext3, followed by ext2, and finally ext4.
>
> Signed-off-by: "Theodore Ts'o" <tytso@xxxxxxx>
> -obj-$(CONFIG_EXT4_FS) += ext4/ # Before ext2 so root fs can be ext4
> +obj-$(CONFIG_EXT2_FS) += ext2/
> +# We place ext4 after ext2 so plain ext2 root fs's are mounted using ext4
> +# unless explicitly requested by rootfstype
> +obj-$(CONFIG_EXT4_FS) += ext4/

Try
> +# We place ext4 after ext2 so plain ext2 root fs's aren't mounted using ext4
> +# unless explicitly requested by rootfstype

--
David Fries <david@xxxxxxxxx>
http://fries.net/~david/ (PGP encryption key available)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/