diff options
author | Eric Sandeen <sandeen@redhat.com> | 2018-03-22 16:59:00 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-03-22 16:59:00 +0100 |
commit | 0d9366d67bcf066b028e57d09c9a86ce879bcc28 (patch) | |
tree | 563dcb8ecf8e0c597f6af061c89578b2d35acf21 /fs/ext4/ioctl.c | |
parent | ext4: remove EXT4_STATE_DIOREAD_LOCK flag (diff) | |
download | linux-0d9366d67bcf066b028e57d09c9a86ce879bcc28.tar.xz linux-0d9366d67bcf066b028e57d09c9a86ce879bcc28.zip |
ext4: don't complain about incorrect features when probing
If mount is auto-probing for filesystem type, it will try various
filesystems in order, with the MS_SILENT flag set. We get
that flag as the silent arg to ext4_fill_super.
If we're probing (silent==1) then don't complain about feature
incompatibilities that are found if it looks like it's actually
a different valid extN type - failed probes should be silent
in this case.
If the on-disk features are unknown even to ext4, then complain.
Reported-by: Joakim Tjernlund <Joakim.Tjernlund@infinera.com>
Tested-by: Joakim Tjernlund <Joakim.Tjernlund@infinera.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext4/ioctl.c')
0 files changed, 0 insertions, 0 deletions