commit | 78130819695f17f5c042d8ba097802639478faf5 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Tue Sep 25 15:36:02 2018 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Mon Oct 22 17:54:48 2018 -0700 |
tree | 468624c7bdc9ab656be4982a635cca65526444c2 | |
parent | af033b2aa8a874fd5737fafe90d159136527b5b4 [diff] |
f2fs: fix to keep project quota consistent This patch does below changes to keep consistence of project quota data in sudden power-cut case: - update inode.i_projid and project quota atomically under lock_op() in f2fs_ioc_setproject() - recover inode.i_projid and project quota in recover_inode() Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>