hpfs: implement the show_options method
authorMikulas Patocka <mikulas@twibright.com>
Tue, 24 May 2016 20:49:18 +0000 (22:49 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 28 May 2016 23:50:24 +0000 (16:50 -0700)
commit037369b872940cd923835a0a589763180c4a36bc
tree9a27a8603a270c3bd8464ffc520cb019593abdde
parent01d6e08711bf90bc4d7ead14a93a0cbd73b1896a
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>
fs/hpfs/super.c
This page took 0.025215 seconds and 5 git commands to generate.