diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2008-02-08 12:21:35 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 17:22:39 (GMT) |
commit | b3b304a23a8f7ae4c40c7b512ee45afae0010a70 (patch) | |
tree | 04ada9ae35e912b6c3d56c0aefdc297216f2e0a5 /kernel/mutex.c | |
parent | f84e3f521e1449300e0fdc314b7b43b418a66dc3 (diff) | |
download | linux-fsl-qoriq-b3b304a23a8f7ae4c40c7b512ee45afae0010a70.tar.xz |
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 <mszeredi@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/mutex.c')
0 files changed, 0 insertions, 0 deletions