commit | 34983b0428cac0e9ec793022b1998adfb57d5b3c | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Tue Sep 25 15:36:02 2018 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Fri Oct 26 11:27:10 2018 -0700 |
tree | 12bbdb8aef63f6a48dc112f5ef02808b86750c0a | |
parent | 4eb89a77bc2010d81626e9d16f943538820b4e34 [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>