diff options
author | Christoph Hellwig <hch@tuxera.com> | 2010-11-07 23:01:17 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2010-11-07 23:01:17 +0100 |
commit | 6f80dfe55fcbde1e588bc2cfa1273403b710872d (patch) | |
tree | 3851aa0862c6e928de0efa38c39c3ca5905fa5a5 /fs/hfsplus/hfsplus_fs.h | |
parent | ff8b16d7e15a8ba2a6086645614a483e048e3fbf (diff) | |
download | linux-rpi-6f80dfe55fcbde1e588bc2cfa1273403b710872d.tar.gz linux-rpi-6f80dfe55fcbde1e588bc2cfa1273403b710872d.tar.bz2 linux-rpi-6f80dfe55fcbde1e588bc2cfa1273403b710872d.zip |
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>
Diffstat (limited to 'fs/hfsplus/hfsplus_fs.h')
-rw-r--r-- | fs/hfsplus/hfsplus_fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/hfsplus/hfsplus_fs.h b/fs/hfsplus/hfsplus_fs.h index cb3653efb57a..f07aa640c27d 100644 --- a/fs/hfsplus/hfsplus_fs.h +++ b/fs/hfsplus/hfsplus_fs.h @@ -362,6 +362,7 @@ ssize_t hfsplus_listxattr(struct dentry *dentry, char *buffer, size_t size); /* options.c */ int hfsplus_parse_options(char *, struct hfsplus_sb_info *); +int hfsplus_parse_options_remount(char *input, int *force); void hfsplus_fill_defaults(struct hfsplus_sb_info *); int hfsplus_show_options(struct seq_file *, struct vfsmount *); |