diff options
author | Sahitya Tummala <stummala@codeaurora.org> | 2018-07-02 11:37:40 +0530 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-07-28 18:26:08 -0700 |
commit | dc1328027b53586cc6b668c6654f9482e505699c (patch) | |
tree | adce1e4cba0ed26ba09f3b67a9af7fc390162bff /fs/f2fs | |
parent | 68c43a235e8c8fa69322e8239762242cb3e752cb (diff) | |
download | linux-dc1328027b53586cc6b668c6654f9482e505699c.tar.bz2 |
f2fs: show the fsync_mode=nobarrier mount option
This patch shows the fsync_mode=nobarrier mount option in
f2fs_show_options().
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs')
-rw-r--r-- | fs/f2fs/super.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 5e75a2bc4a45..98bfccc1d389 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -1342,6 +1342,8 @@ static int f2fs_show_options(struct seq_file *seq, struct dentry *root) seq_printf(seq, ",fsync_mode=%s", "posix"); else if (F2FS_OPTION(sbi).fsync_mode == FSYNC_MODE_STRICT) seq_printf(seq, ",fsync_mode=%s", "strict"); + else if (F2FS_OPTION(sbi).fsync_mode == FSYNC_MODE_NOBARRIER) + seq_printf(seq, ",fsync_mode=%s", "nobarrier"); return 0; } |