f2fs: wait for discard completion after submission
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 23 Feb 2017 03:58:23 +0000 (19:58 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 27 Feb 2017 17:59:39 +0000 (09:59 -0800)
commit40465257ac4159e9ebfba10ee502e795b917da76
treea3a5c8a58c1cda61762938f33ffde734395e0d16
parent47b898081605684aa1bacd1d14443a50c660c1fe
f2fs: wait for discard completion after submission

We don't need to wait for each discard commands when unmounting the image.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c