commit | dd5f6279732e8885061d7455b9d86fdcfdf7f183 | [log] [tgz] |
---|---|---|
author | zhangyi (F) <yi.zhang@huawei.com> | Wed Nov 01 18:40:45 2017 +0800 |
committer | Jan Kara <jack@suse.cz> | Wed Nov 01 14:42:57 2017 +0100 |
tree | 9e99d6577faa32f58a3b29178dc837320c9d0890 | |
parent | cb91775711b2f3f7adea8d33aa83104baf75ee07 [diff] |
quota: fix potential infinite loop In dquot_writeback_dquots(), we write back dquot from dirty dquots list. There is a potential infinite loop if ->write_dquot() failure and forget remove dquot from the list. This patch clear dirty bit anyway to avoid it. Signed-off-by: zhangyi (F) <yi.zhang@huawei.com> Signed-off-by: Jan Kara <jack@suse.cz>