Roel Kluin
2008-Mar-09 11:35 UTC
[Ocfs2-devel] fs/ocfs2/cluster/heartbeat.c: misplaced parentheses in o2hb_setup_one_bio()?
from fs/ocfs2/cluster/heartbeat.c:265: vec_start = (cs << bits) % PAGE_CACHE_SIZE; shouldn't this be vec_start = cs << (bits % PAGE_CACHE_SIZE); ?
Roel Kluin
2008-Mar-09 11:51 UTC
[Ocfs2-devel] Re: fs/ocfs2/cluster/heartbeat.c: misplaced parentheses in o2hb_setup_one_bio()?
Roel Kluin wrote:> from fs/ocfs2/cluster/heartbeat.c:265: > > vec_start = (cs << bits) % PAGE_CACHE_SIZE; > > shouldn't this be > > vec_start = cs << (bits % PAGE_CACHE_SIZE); > > ?Nevermind, it is probably right. Sorry for the noise.