diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-05-29 03:19:17 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-06-02 01:21:09 +0200 |
commit | 9236cac5666ea8b3a3b92b132a046c200b99dca8 (patch) | |
tree | 76cd720f7405d4ee8042ac86176c1ee2a713ff38 /kernel/task_work.c | |
parent | f2fs crypto: clean up error handling in f2fs_fname_setup_filename (diff) | |
download | linux-9236cac5666ea8b3a3b92b132a046c200b99dca8.tar.xz linux-9236cac5666ea8b3a3b92b132a046c200b99dca8.zip |
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>
Diffstat (limited to 'kernel/task_work.c')
0 files changed, 0 insertions, 0 deletions