ext4: do not set extents feature from the kernel
commite4079a11f5ed966b7d972cc69e8d337a0f095e32
authorEric Sandeen <sandeen@redhat.com>
Fri, 11 Jul 2008 23:27:31 +0000 (11 19:27 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 11 Jul 2008 23:27:31 +0000 (11 19:27 -0400)
tree1e70276654b4808cfcde549c7f2612947e5ab1c3
parentc07651b556323e0e763c452587fe29d2b034b314
ext4: do not set extents feature from the kernel

We've talked for a while about getting rid of any feature-
setting from the kernel; this gets rid of the code which would
set the INCOMPAT_EXTENTS flag on the first file write when mounted
as ext4[dev].

With this patch, if the extents feature is not already set on disk,
then mounting as ext4 will fall back to noextents with a warning,
and if -o extents is explicitly requested, the mount will fail,
also with warning.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ialloc.c
fs/ext4/super.c