2008-01-24 19:39:03

by Miklos Szeredi

[permalink] [raw]
Subject: [patch 13/26] mount options: fix fat

From: Miklos Szeredi <[email protected]>

Add flush option to /proc/mounts for msdos and vfat filesystems.

Signed-off-by: Miklos Szeredi <[email protected]>
---

Index: linux/fs/fat/inode.c
===================================================================
--- linux.orig/fs/fat/inode.c 2008-01-17 19:00:55.000000000 +0100
+++ linux/fs/fat/inode.c 2008-01-21 19:00:40.000000000 +0100
@@ -837,6 +837,8 @@ static int fat_show_options(struct seq_f
if (!opts->numtail)
seq_puts(m, ",nonumtail");
}
+ if (sbi->options.flush)
+ seq_puts(m, ",flush");

return 0;
}

--