f2fs: use wq_has_sleeper for cp_wait wait_queue
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 26 Jan 2016 19:55:35 +0000 (11:55 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 23 Feb 2016 00:07:23 +0000 (16:07 -0800)
commit7c506896cf933a07460dd9777ac023382446beac
tree7e5e2ea4e4e7b2950e9ee9d4b0ba4058ea9a0265
parent688159b6db47a9ebc0b34402bf5df157c45f6a46
f2fs: use wq_has_sleeper for cp_wait wait_queue

We need to use wq_has_sleeper including smp_mb to consider cp_wait concurrency.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c