Merge "f2fs: show the fsync_mode=nobarrier mount option"

This commit is contained in:
qctecmdr Service 2018-09-12 17:08:13 -07:00 committed by Gerrit - the friendly Code Review server
commit fe8ffc6ce6

View File

@ -1344,6 +1344,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;
}