summaryrefslogtreecommitdiff
path: root/fs/exofs
diff options
context:
space:
mode:
authorWanpeng Li <wanpeng.li@linux.intel.com>2015-03-09 06:00:55 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2015-04-11 01:08:39 +0300
commit57ed1e95babbd2df33f70eb820c7a9984199557b (patch)
tree3d277b6e2f932be5bca5ab8735b7ae60ebf28e13 /fs/exofs
parente0150392ddfaaf5ccf338893f6db177a2c64a7ee (diff)
downloadlinux-57ed1e95babbd2df33f70eb820c7a9984199557b.tar.xz
f2fs: fix unlocked nat set cache operation
nm_i->nat_tree_lock is used to sync both the operations of nat entry cache tree and nat set cache tree, however, it isn't held when flush nat entries during checkpoint which lead to potential race, this patch fix it by holding the lock when gang lookup nat set cache and delete item from nat set cache. Signed-off-by: Wanpeng Li <wanpeng.li@linux.intel.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/exofs')
0 files changed, 0 insertions, 0 deletions