diff options
author | Chao Yu <chao2.yu@samsung.com> | 2015-06-08 13:20:10 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-06-08 11:09:19 -0700 |
commit | 09d54cdd207bb3b07e00983f2f50bd68c354ce31 (patch) | |
tree | b53f616b30787b8f4be405609f5108fb3915bf49 /fs/f2fs/f2fs.h | |
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>
Diffstat (limited to 'fs/f2fs/f2fs.h')
0 files changed, 0 insertions, 0 deletions