commit | 9236cac5666ea8b3a3b92b132a046c200b99dca8 | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk@kernel.org> | Thu May 28 18:19:17 2015 -0700 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Mon Jun 01 16:21:09 2015 -0700 |
tree | 76cd720f7405d4ee8042ac86176c1ee2a713ff38 | |
parent | e5e0906b6b4c517a8622f2ff196c19cbd1068644 [diff] |
f2fs: fix a deadlock for summary page lock vs. sentry_lock In f2fs_gc: In f2fs_replace_block: - lock_page(sum_page) - check_valid_map() - mutex_lock(sentry_lock) - mutex_lock(sentry_lock) - change_curseg() - lock_page(sum_page) This patch fixes the deadlock condition. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>