tmp_suning_uos_patched/fs/hpfs
Mikulas Patocka 037369b872 hpfs: implement the show_options method
The HPFS filesystem used generic_show_options to produce string that is
displayed in /proc/mounts.  However, there is a problem that the options
may disappear after remount.  If we mount the filesystem with option1
and then remount it with option2, /proc/mounts should show both option1
and option2, however it only shows option2 because the whole option
string is replaced with replace_mount_options in hpfs_remount_fs.

To fix this bug, implement the hpfs_show_options function that prints
options that are currently selected.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-05-28 16:50:24 -07:00
..
alloc.c
anode.c
buffer.c
dentry.c
dir.c hpfs: switch to ->iterate_shared() 2016-05-12 19:47:13 -04:00
dnode.c hpfs: handle allocation failures in hpfs_add_pos() 2016-05-12 19:35:57 -04:00
ea.c
file.c
hpfs_fn.h hpfs: handle allocation failures in hpfs_add_pos() 2016-05-12 19:35:57 -04:00
hpfs.h
inode.c
Kconfig
Makefile
map.c
name.c
namei.c hpfs: don't truncate the file when delete fails 2016-02-27 19:15:51 -05:00
super.c hpfs: implement the show_options method 2016-05-28 16:50:24 -07:00