[Cluster-devel] [GFS2 PATCH] bz448866: gfs2: BUG: unable to handle kernel paging request at ffff81002690e000

Bob Peterson rpeterso at redhat.com
Wed Jun 18 16:30:40 UTC 2008


Hi,

This patch fixes bugzilla bug bz448866: gfs2: BUG: unable to
handle kernel paging request at ffff81002690e000.

Regards,

Bob Peterson
Red Hat Clustering & GFS

Signed-off-by: Bob Peterson <rpeterso at redhat.com>
--
 fs/gfs2/rgrp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c
index 6387523..3401628 100644
--- a/fs/gfs2/rgrp.c
+++ b/fs/gfs2/rgrp.c
@@ -195,7 +195,7 @@ ulong_aligned:
 	   depending on architecture.  I've experimented with several ways
 	   of writing this section such as using an else before the goto
 	   but this one seems to be the fastest. */
-	while ((unsigned char *)plong < end - 1) {
+	while ((unsigned char *)plong < end - sizeof(unsigned long)) {
 		prefetch(plong + 1);
 		if (((*plong) & LBITMASK) != lskipval)
 			break;





More information about the Cluster-devel mailing list