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);
?
Quoted 9 lines · Roel Kluin
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.