mount options: fix hpfs
authorMiklos Szeredi <mszeredi@suse.cz>
Fri, 8 Feb 2008 12:21:44 +0000 (04:21 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:40 +0000 (09:22 -0800)
commit6d9c1fd425e6e1f0998218104cc046589e3af3d8
tree28e718a93d74c5b87d1494a604a97352e44ade12
parentdd2cc4dff3b08ab54c4c177a080046bcc84ac41d
mount options: fix hpfs

Add a .show_options super operation to hpfs.

Use generic_show_options() and save the complete option string in
hpfs_fill_super() and hpfs_remount_fs().

Also add a small fix: hpfs_remount_fs() should return -EINVAL on
error, instead of 1, which is not an error value.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/hpfs/super.c