f2fs: don't issue discard commands in online discard is on
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 21 Jun 2018 04:27:21 +0000 (21:27 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 5 Sep 2018 22:08:27 +0000 (15:08 -0700)
commit0d71db20c3a31384762c0ea402b4e7d96a65ef2f
treed51104e63673fed6a80f599897ea2b130177cbac
parent130ad54771710d116b35800d008102e5df92857c
f2fs: don't issue discard commands in online discard is on

Actually, we don't need to issue discard commands, if discard is on, as
mentioned in the comment.

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