diff options
author | zhangyi (F) <yi.zhang@huawei.com> | 2017-08-24 19:21:50 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-09-27 12:39:20 (GMT) |
commit | 3806cea5c1c509ef66f2cc8a183021ca4f871923 (patch) | |
tree | 74753085f52c390cf8897f4e7a62cd98d35f17d9 /arch | |
parent | 18d27cb70373896d618bb5dd9f124d7a994a0c3c (diff) | |
download | linux-3806cea5c1c509ef66f2cc8a183021ca4f871923.tar.xz |
ext4: fix quota inconsistency during orphan cleanup for read-only mounts
commit 95f1fda47c9d8738f858c3861add7bf0a36a7c0b upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions