packages: kernel/kernel-xfs-recover-quota.patch (NEW) - attempt at fixing l...

baggins baggins at pld-linux.org
Mon Nov 16 14:33:36 CET 2009


Author: baggins                      Date: Mon Nov 16 13:33:36 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- attempt at fixing log recover problems on xfs fs with quota

---- Files affected:
packages/kernel:
   kernel-xfs-recover-quota.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/kernel/kernel-xfs-recover-quota.patch
diff -u /dev/null packages/kernel/kernel-xfs-recover-quota.patch:1.1
--- /dev/null	Mon Nov 16 14:33:36 2009
+++ packages/kernel/kernel-xfs-recover-quota.patch	Mon Nov 16 14:33:31 2009
@@ -0,0 +1,20 @@
+--- linux-2.6.31.5/fs/xfs/xfs_log_recover.c.orig	2009-11-01 23:59:52.194846209 +0100
++++ linux-2.6.31.5/fs/xfs/xfs_log_recover.c	2009-11-16 12:47:11.601490963 +0100
+@@ -1980,7 +1980,7 @@
+ 					"XFS: NULL dquot in %s.", __func__);
+ 				goto next;
+ 			}
+-			if (item->ri_buf[i].i_len < sizeof(xfs_dqblk_t)) {
++			if (item->ri_buf[i].i_len < sizeof(xfs_disk_dquot_t)) {
+ 				cmn_err(CE_ALERT,
+ 					"XFS: dquot too small (%d) in %s.",
+ 					item->ri_buf[i].i_len, __func__);
+@@ -2636,7 +2636,7 @@
+ 			"XFS: NULL dquot in %s.", __func__);
+ 		return XFS_ERROR(EIO);
+ 	}
+-	if (item->ri_buf[1].i_len < sizeof(xfs_dqblk_t)) {
++	if (item->ri_buf[1].i_len < sizeof(xfs_disk_dquot_t)) {
+ 		cmn_err(CE_ALERT,
+ 			"XFS: dquot too small (%d) in %s.",
+ 			item->ri_buf[1].i_len, __func__);
================================================================


More information about the pld-cvs-commit mailing list