f2fs: setting discard option in parse_options()
authorChao Yu <chao2.yu@samsung.com>
Mon, 8 Jun 2015 05:20:10 +0000 (13:20 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 8 Jun 2015 18:09:19 +0000 (11:09 -0700)
commit09d54cdd207bb3b07e00983f2f50bd68c354ce31
treeb53f616b30787b8f4be405609f5108fb3915bf49
parentf56aa1c57ea921e45bb6cf5d83a04cbc8f38fae5
f2fs: setting discard option in parse_options()

For the first mount of f2fs image with realtime discard option, we will
disable discard option if device is not supported, but for remount
operation, our discard option can still be set, this should be avoided.

This patch moves configuring of discard option to parse_options() to fix
this issue.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c
This page took 0.032183 seconds and 5 git commands to generate.