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-15 10:00:00 -07:00
2008-08-13 16:51:57 +10:00
2008-07-28 16:59:25 +10:00
2008-04-29 16:07:48 +10:00
2008-07-28 16:58:49 +10:00
2008-08-13 16:22:40 +10:00
2008-08-13 16:22:40 +10:00
2008-02-07 16:46:39 +11:00
2008-02-13 16:21:19 -08:00
2007-02-10 18:37:33 +11:00
2008-04-18 12:03:02 +10:00
2007-07-14 15:28:50 +10:00
2008-08-13 16:07:53 +10:00
2008-08-13 16:05:49 +10:00
2008-08-13 16:05:49 +10:00
2008-07-28 16:58:35 +10:00
2008-08-13 16:05:49 +10:00
2008-08-13 16:03:35 +10:00
2008-08-13 15:41:12 +10:00
2008-08-13 15:41:12 +10:00
2008-07-28 16:59:13 +10:00
2008-04-10 16:24:45 +10:00
2008-08-13 16:52:25 +10:00
2008-07-28 16:59:11 +10:00
2008-08-13 16:25:27 +10:00
2008-08-13 16:25:27 +10:00
2008-09-17 16:52:13 +10:00
2008-02-07 18:14:38 +11:00
2008-07-28 16:58:05 +10:00
2008-07-28 16:59:25 +10:00
2008-07-28 16:58:40 +10:00
2008-09-17 16:51:21 +10:00
2006-06-09 14:48:12 +10:00
2008-02-07 18:19:24 +11:00
2008-07-28 16:58:40 +10:00
2007-10-15 16:49:49 +10:00
2008-07-28 16:58:36 +10:00
2007-07-14 15:37:02 +10:00
2008-07-28 16:59:06 +10:00
2007-10-15 16:49:49 +10:00
2008-07-28 16:59:01 +10:00
2007-07-14 15:37:02 +10:00
2008-07-28 16:58:40 +10:00
2008-07-28 16:58:50 +10:00
2008-07-28 16:58:37 +10:00
2005-11-02 14:58:39 +11:00
2008-07-28 16:58:46 +10:00
2008-07-28 16:58:40 +10:00
2008-08-23 12:14:12 -07:00
2007-10-19 17:14:45 +10:00
2008-08-13 16:17:37 +10:00
2008-08-13 16:17:37 +10:00
2008-07-28 16:58:07 +10:00
2006-09-28 10:55:43 +10:00
2008-08-13 16:51:57 +10:00
2007-07-14 15:40:53 +10:00
2008-07-28 16:59:09 +10:00
2008-07-28 16:58:42 +10:00
2006-01-11 15:30:08 +11:00
2008-08-13 16:25:27 +10:00
2008-02-07 18:12:41 +11:00
2008-04-29 15:58:56 +10:00
2007-10-15 16:39:35 +10:00
2008-08-13 16:41:16 +10:00
2005-11-02 14:58:39 +11:00
2008-08-13 16:41:16 +10:00
2008-04-18 11:37:51 +10:00
2008-09-26 12:17:57 +10:00
2008-08-13 16:44:15 +10:00
2005-11-02 14:58:39 +11:00
2008-07-28 16:59:10 +10:00
2008-02-07 16:44:14 +11:00
2008-08-13 16:22:09 +10:00
2007-07-14 15:42:50 +10:00
2008-09-17 16:45:37 +10:00
2008-08-13 16:49:32 +10:00
2005-11-02 14:58:39 +11:00
2008-10-10 11:08:07 -07:00
2008-08-13 16:49:32 +10:00
2008-08-13 16:51:29 +10:00
2008-08-13 16:49:57 +10:00
2008-07-28 16:59:25 +10:00
2007-09-17 16:42:02 +10:00
2008-02-07 16:47:15 +11:00
2007-10-16 11:43:26 +10:00
2005-11-03 16:14:31 +11:00
2008-07-28 16:59:14 +10:00
2008-08-13 15:41:12 +10:00
2008-02-07 18:16:43 +11:00
2008-08-13 16:36:11 +10:00
2008-02-07 18:16:43 +11:00
2008-07-28 16:58:42 +10:00
2008-04-18 11:51:26 +10:00
2008-08-13 16:10:52 +10:00
2007-10-15 16:50:50 +10:00
2008-07-28 16:58:07 +10:00
2008-08-13 16:10:52 +10:00
2008-02-07 18:22:51 +11:00
2006-06-20 13:04:51 +10:00
2008-08-13 16:10:52 +10:00
2008-08-13 16:10:52 +10:00
2008-04-18 12:00:12 +10:00
2008-08-13 15:45:15 +10:00
2008-08-13 16:13:45 +10:00
2008-08-13 16:22:40 +10:00
2008-07-28 16:58:21 +10:00
2008-09-17 16:52:50 +10:00
2008-07-28 16:59:37 +10:00
2008-04-29 15:57:49 +10:00