commit | 09d54cdd207bb3b07e00983f2f50bd68c354ce31 | [log] [tgz] |
---|---|---|
author | Chao Yu <chao2.yu@samsung.com> | Mon Jun 08 13:20:10 2015 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Mon Jun 08 11:09:19 2015 -0700 |
tree | b53f616b30787b8f4be405609f5108fb3915bf49 | |
parent | f56aa1c57ea921e45bb6cf5d83a04cbc8f38fae5 [diff] |
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>