1
0
Fork 0
remarkable-linux/fs/hpfs
Mikulas Patocka 3b14279924 hpfs: implement the show_options method
[ Upstream commit 037369b872 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2016-06-06 19:12:36 -04:00
..
Kconfig HPFS: Make HPFS compile on preempt and SMP 2011-05-09 09:04:23 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
alloc.c fs/hpfs: convert printk to pr_foo() 2014-06-06 16:08:10 -07:00
anode.c hpfs: convert to use leXX_add_cpu() 2012-10-06 03:05:08 +09:00
buffer.c fs/hpfs: increase pr_warn level 2014-06-06 16:08:10 -07:00
dentry.c Don't pass inode to ->d_hash() and ->d_compare() 2013-06-29 12:57:36 +04:00
dir.c fs/hpfs: increase pr_warn level 2014-06-06 16:08:10 -07:00
dnode.c fs/hpfs/dnode.c: fix suspect code indent 2014-08-08 15:57:22 -07:00
ea.c fs/hpfs: increase pr_warn level 2014-06-06 16:08:10 -07:00
file.c make new_sync_{read,write}() static 2015-04-11 22:29:40 -04:00
hpfs.h hpfs: assorted endianness annotations 2012-05-29 23:28:39 -04:00
hpfs_fn.h fs/hpfs: use pr_fmt for logging 2014-06-06 16:08:10 -07:00
inode.c VFS: normal filesystems (and lustre): d_inode() annotations 2015-04-15 15:06:57 -04:00
map.c fs/hpfs: increase pr_warn level 2014-06-06 16:08:10 -07:00
name.c fs/hpfs: increase pr_warn level 2014-06-06 16:08:10 -07:00
namei.c hpfs: don't truncate the file when delete fails 2016-03-09 13:15:12 -05:00
super.c hpfs: implement the show_options method 2016-06-06 19:12:36 -04:00