commit | d0d3f1b329b01a9e16609eeadcc6d4fae0afc7c8 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Sun Feb 11 22:53:20 2018 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Tue Mar 13 08:05:46 2018 +0900 |
tree | 735e01f4251edb9a2eff79a53e0874d3e156c99c | |
parent | 8fe326cb996f89bac50cee2fdb4febfcca6eb297 [diff] |
f2fs: introduce sb_lock to make encrypt pwsalt update exclusive f2fs_super_block.encrypt_pw_salt can be udpated and persisted concurrently, result in getting different pwsalt in separated threads, so let's introduce sb_lock to exclude concurrent accessers. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>