[Ocfs2-devel] Re: fs/ocfs2/cluster/heartbeat.c: misplaced parentheses in o2hb_setup_one_bio()?

Roel Kluin 12o3l at tiscali.nl
Sun Mar 9 11:51:25 PDT 2008


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.




More information about the Ocfs2-devel mailing list