]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/hfsplus/hfsplus_fs.h
hfsplus: fix option parsing during remount
authorChristoph Hellwig <hch@tuxera.com>
Sun, 7 Nov 2010 22:01:17 +0000 (23:01 +0100)
committerChristoph Hellwig <hch@lst.de>
Sun, 7 Nov 2010 22:01:17 +0000 (23:01 +0100)
commit6f80dfe55fcbde1e588bc2cfa1273403b710872d
tree3851aa0862c6e928de0efa38c39c3ca5905fa5a5
parentff8b16d7e15a8ba2a6086645614a483e048e3fbf
hfsplus: fix option parsing during remount

hfsplus only actually uses the force option during remount, but it uses
the full option parser with a fake superblock to do so.  This means remount
will fail if any nls option is set (which happens frequently with older
mount tools), even if it is the same.

Fix this by adding a simpler version of the parser that only parses the force
option for remount.

Signed-off-by: Christoph Hellwig <hch@tuxera.com>
fs/hfsplus/hfsplus_fs.h
fs/hfsplus/options.c
fs/hfsplus/super.c