Răsfoiți Sursa

[GFS2] BUG: unable to handle kernel paging request at ffff81002690e000

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

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Bob Peterson 17 ani în urmă
părinte
comite
17c15da00c
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      fs/gfs2/rgrp.c

+ 1 - 1
fs/gfs2/rgrp.c

@@ -195,7 +195,7 @@ ulong_aligned:
 	   depending on architecture.  I've experimented with several ways
 	   depending on architecture.  I've experimented with several ways
 	   of writing this section such as using an else before the goto
 	   of writing this section such as using an else before the goto
 	   but this one seems to be the fastest. */
 	   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);
 		prefetch(plong + 1);
 		if (((*plong) & LBITMASK) != lskipval)
 		if (((*plong) & LBITMASK) != lskipval)
 			break;
 			break;