From: Miklos Szeredi Date: Fri, 8 Feb 2008 12:21:35 +0000 (-0800) Subject: mount options: add generic_show_options() X-Git-Tag: v2.6.25-rc1~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3b304a23a8f7ae4c40c7b512ee45afae0010a70;p=pandora-kernel.git mount options: add generic_show_options() Add a new s_options field to struct super_block. Filesystems can save mount options passed to them in mount or remount. It is automatically freed when the superblock is destroyed. A new helper function, generic_show_options() is introduced, which uses this field to display the mount options in /proc/mounts. Another helper function, save_mount_options() may be used by filesystems to save the options in the super block. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed