Christoph Hellwig 6c5e51dae2 xfs: fix remount rw with unrecognized options
When we skip unrecognized options in xfs_fs_remount we should just break
out of the switch and not return because otherwise we may skip clearing
the xfs-internal read-only flag.  This will only show up on some
operations like touch because most read-only checks are done by the VFS
which thinks this filesystem is r/w.  Eventually we should replace the
XFS read-only flag with a helper that always checks the VFS flag to make
sure they can never get out of sync.

Bug reported and fix verified by Marcel Beister on #xfs.
Bug fix verified by updated xfstests/189.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Timothy Shimmin <tes@sgi.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-15 10:00:00 -07:00
..
2008-10-13 10:10:37 -07:00
2008-09-13 14:41:51 -07:00
2008-08-20 15:40:32 -07:00
2008-10-13 09:47:43 +11:00
2008-09-05 09:51:30 -05:00
2008-09-02 23:15:22 +01:00
2008-04-29 08:06:00 -07:00
2008-07-25 10:53:34 -07:00
2007-10-18 14:37:31 -07:00
2008-09-02 19:21:37 -07:00
2008-10-14 18:31:46 -07:00
2008-10-02 15:53:13 -07:00
2008-07-26 12:00:07 -07:00
2008-07-25 10:53:34 -07:00
2008-07-26 20:53:40 -04:00
2008-07-26 12:00:08 -07:00
2008-07-26 12:00:08 -07:00
2008-07-26 12:00:08 -07:00
2008-10-09 08:57:05 +02:00
2008-01-30 13:31:46 +01:00
2008-07-26 12:00:06 -07:00
2008-05-01 13:08:16 -04:00
2008-10-13 09:51:41 -07:00
2008-08-01 11:25:24 -04:00
2008-07-26 20:53:40 -04:00
2008-07-14 19:10:52 +03:00
2008-02-06 10:41:07 -08:00
2008-02-14 21:13:33 -08:00
2008-10-13 09:51:41 -07:00
2008-07-25 10:53:35 -07:00
2008-07-02 15:06:27 -06:00