diff options
author | Mikulas Patocka <mikulas@twibright.com> | 2016-05-24 22:49:18 +0200 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2016-06-06 19:12:36 -0400 |
commit | 3b14279924b57534832b3c1a0f5b890191777c4e (patch) | |
tree | 479f3f2020b414ca6557d30f01f9b09b0864a742 /virt | |
parent | 9df75cfc33830bc3aaf625728e01f3e80a1c711e (diff) |
hpfs: implement the show_options method
[ Upstream commit 037369b872940cd923835a0a589763180c4a36bc ]
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>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions