f2fs: switch discard_policy.timeout to bool type
authorChao Yu <yuchao0@huawei.com>
Thu, 26 Mar 2020 09:43:56 +0000 (17:43 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 3 Apr 2020 17:21:31 +0000 (10:21 -0700)
commit6ce48b0c6eabce3f770581ff7f07944c28fce070
tree9676d4d35470f0447384c3c5ebd44c15c51dce87
parent8908e753109fd7abb4949a3d6118a9a5e3766ea0
f2fs: switch discard_policy.timeout to bool type

While checking discard timeout, we use specified type
UMOUNT_DISCARD_TIMEOUT, so just replace doplicy.timeout with
it, and switch doplicy.timeout to bool type.

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