]> git.hungrycats.org Git - linux/commit
[PATCH] ext2: clear ext3 htree flag on directories
authorAndrew Morton <akpm@digeo.com>
Sun, 2 Mar 2003 12:37:19 +0000 (04:37 -0800)
committerDavid S. Miller <davem@nuts.ninka.net>
Sun, 2 Mar 2003 12:37:19 +0000 (04:37 -0800)
commitdac80052d78a0fdaa1579e6357392f0fb306931e
tree51b82ef026cb56a9cba0e2b86f3ff53d874bcf13
parent37c8cc306af4c48b60fcc33d0296e477e73ef3a8
[PATCH] ext2: clear ext3 htree flag on directories

Forward port of a change which Ted made to 2.4's ext2.

HTREE backwards compatibility patch.

"I thought (and assumed) this patch had been applied to both the ext2 and
 ext3 filesystems in the 2.4 kernel.  It turns out it had only made it into
 the ext3 filesystem code.  This means that if an HTREE-enabled filesystem is
 mounted using ext2, it will corrupt the filesystem as far as e2fsck and an
 ext3 htree-enabled kernel is concerned.  (The corruption won't cause any
 data loss, but it will cause e2fsck and an ext3-htree kernel to omit a lot
 of warning messages.)"
fs/ext2/dir.c
fs/ext2/ialloc.c