• J
    ext4: don't allow quota mount options when quota feature enabled · 262b4662
    Jan Kara 提交于
    So far we silently ignored when quota mount options were set while quota
    feature was enabled.  But this can create confusion in userspace when
    mount options are set but silently ignored and also creates opportunities
    for bugs when we don't properly test all quota types.  Actually
    ext4_mark_dquot_dirty() forgets to test for quota feature so it was
    dependent on journaled quota options being set.  OTOH ext4_orphan_cleanup()
    tries to enable journaled quota when quota options are specified which is
    wrong when quota feature is enabled.
    Signed-off-by: NJan Kara <jack@suse.cz>
    Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
    262b4662
super.c 150.0 KB