X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fgfs2%2Frgrp.c;h=3401628d742b6cbfd5b53c9a4ed11f42d3372413;hb=6924d1ab8b7bbe5ab416713f5701b3316b2df85b;hp=6387523a31530237da2d2545350787e4db53dd0d;hpb=cc55875e26e2b85484b196edbada6caf84eb7765;p=linux-2.6 diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c index 6387523a31..3401628d74 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;