rpms/kernel/devel linux-2.6.27-xfs-remount-fix.patch,1.1,1.2
Chuck Ebbert
cebbert at fedoraproject.org
Thu Oct 16 16:24:35 UTC 2008
- Previous message: rpms/rpm/devel .cvsignore, 1.28, 1.29 rpm.spec, 1.298, 1.299 sources, 1.134, 1.135 rpm-4.5.90-ppc-isa.patch, 1.1, NONE
- Next message: rpms/kernel/devel patch-2.6.27.1.bz2.sign, NONE, 1.1 .cvsignore, 1.946, 1.947 kernel.spec, 1.1054, 1.1055 sources, 1.908, 1.909 upstream, 1.820, 1.821
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: cebbert
Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15027
Modified Files:
linux-2.6.27-xfs-remount-fix.patch
Log Message:
upstream patch
linux-2.6.27-xfs-remount-fix.patch:
Index: linux-2.6.27-xfs-remount-fix.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/linux-2.6.27-xfs-remount-fix.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- linux-2.6.27-xfs-remount-fix.patch 13 Oct 2008 16:44:10 -0000 1.1
+++ linux-2.6.27-xfs-remount-fix.patch 16 Oct 2008 16:24:34 -0000 1.2
@@ -1,23 +1,32 @@
-From the xfs list only, so far:
+From: Christoph Hellwig <hch at lst.de>
+Date: Sun, 12 Oct 2008 12:30:44 +0000 (+0200)
+Subject: xfs: fix remount rw with unrecognized options
+X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=6c5e51dae2c37127e00be392f40842e08077e96a
+
+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 things this filesystem is r/w. Eventually we should replace the
+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 at lst.de>
-
-Index: linux-2.6-xfs/fs/xfs/linux-2.6/xfs_super.c
-===================================================================
---- linux-2.6-xfs.orig/fs/xfs/linux-2.6/xfs_super.c 2008-10-11 00:59:04.000000000 +0200
-+++ linux-2.6-xfs/fs/xfs/linux-2.6/xfs_super.c 2008-10-11 00:59:35.000000000 +0200
-@@ -1218,7 +1218,7 @@ xfs_fs_remount(
+Acked-by: Eric Sandeen <sandeen at sandeen.net>
+Signed-off-by: Timothy Shimmin <tes at sgi.com>
+Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
+---
+
+diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c
+index 7227b2e..e390136 100644
+--- a/fs/xfs/linux-2.6/xfs_super.c
++++ b/fs/xfs/linux-2.6/xfs_super.c
+@@ -1323,7 +1323,7 @@ xfs_fs_remount(
"XFS: mount option \"%s\" not supported for remount\n", p);
return -EINVAL;
#else
@@ -26,6 +35,3 @@
#endif
}
}
-
-
-
- Previous message: rpms/rpm/devel .cvsignore, 1.28, 1.29 rpm.spec, 1.298, 1.299 sources, 1.134, 1.135 rpm-4.5.90-ppc-isa.patch, 1.1, NONE
- Next message: rpms/kernel/devel patch-2.6.27.1.bz2.sign, NONE, 1.1 .cvsignore, 1.946, 1.947 kernel.spec, 1.1054, 1.1055 sources, 1.908, 1.909 upstream, 1.820, 1.821
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list