[patch 13/26] mount options: fix fat

From: Miklos Szeredi
Date: Thu Jan 24 2008 - 14:39:06 EST


From: Miklos Szeredi <mszeredi@xxxxxxx>

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

Signed-off-by: Miklos Szeredi <mszeredi@xxxxxxx>
---

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;
}

--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/