From: Bob Peterson Date: Wed, 18 Jun 2008 16:30:40 +0000 (-0500) Subject: [GFS2] BUG: unable to handle kernel paging request at ffff81002690e000 X-Git-Tag: v2.6.26-rc8~2^2~1 X-Git-Url: https://gentwo.org/gitweb/?a=commitdiff_plain;h=17c15da00c0e7289375ad57e8fea0c7892b74aa0;p=linux%2F.git [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 Signed-off-by: Steven Whitehouse --- diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c index 6387523a3153..3401628d742b 100644 --- a/fs/gfs2/rgrp.c +++ b/fs/gfs2/rgrp.c @@ -195,7 +195,7 @@ static u32 gfs2_bitfit(const u8 *buffer, unsigned int buflen, u32 goal, 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;