diff options
author | Theodore Ts'o <tytso@mit.edu> | 2011-04-18 17:29:14 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-04-18 17:29:14 -0400 |
commit | 2035e776050aea57fb5255557216473e82793f2c (patch) | |
tree | 6a97e536fd5fbdc29e4b471195a5dd5a0df35fc6 /init | |
parent | 26626f1172fb4f3f323239a6a5cf4e082643fa46 (diff) |
ext4: check for ext[23] file system features when mounting as ext[23]
Provide better emulation for ext[23] mode by enforcing that the file
system does not have any unsupported file system features as defined
by ext[23] when emulating the ext[23] file system driver when
CONFIG_EXT4_USE_FOR_EXT23 is defined.
This causes the file system type information in /proc/mounts to be
correct for the automatically mounted root file system. This also
means that "mount -t ext2 /dev/sda /mnt" will fail if /dev/sda
contains an ext3 or ext4 file system, just as one would expect if the
original ext2 file system driver were in use.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions