summaryrefslogtreecommitdiffstats
path: root/fs/ext4/file.c
diff options
context:
space:
mode:
authorzhangyi (F) <yi.zhang@huawei.com>2017-08-24 15:21:50 -0400
committerTheodore Ts'o <tytso@mit.edu>2017-08-24 15:21:50 -0400
commit95f1fda47c9d8738f858c3861add7bf0a36a7c0b (patch)
tree5caf8b34eb86708407ccbcf9ce62956500dac958 /fs/ext4/file.c
parentb0a5a9589decd07db755d6a8d9c0910d96ff7992 (diff)
downloadlinux-95f1fda47c9d8738f858c3861add7bf0a36a7c0b.tar.bz2
ext4: fix quota inconsistency during orphan cleanup for read-only mounts
Quota does not get enabled for read-only mounts if filesystem has quota feature, so that quotas cannot updated during orphan cleanup, which will lead to quota inconsistency. This patch turn on quotas during orphan cleanup for this case, make sure quotas can be updated correctly. Reported-by: Jan Kara <jack@suse.cz> Signed-off-by: zhangyi (F) <yi.zhang@huawei.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Jan Kara <jack@suse.cz> Cc: stable@vger.kernel.org # 3.18+
Diffstat (limited to 'fs/ext4/file.c')
0 files changed, 0 insertions, 0 deletions