OSDN Git Service

f2fs: return directly if block has been removed from the victim
authorYunlei He <heyunlei@huawei.com>
Mon, 7 Nov 2016 13:22:31 +0000 (21:22 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 23 Nov 2016 20:11:31 +0000 (12:11 -0800)
commit206147112860418fa9363cf94ec2c172bdf4313a
tree3927ece3420d68adc962ad3a954a635adc7d6489
parentd47b8715953ad0cf82bb0a9d30d7b11d83bc9c11
f2fs: return directly if block has been removed from the victim

If one block has been to written to a new place, just return
in move data process. This patch check it again with holding
page lock.

Signed-off-by: Yunlei He <heyunlei@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/gc.c