X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Flov%2Flov_request.c;fp=lustre%2Flov%2Flov_request.c;h=77dff6484cf853f31f6494d035ba50619751c246;hb=edbaee798b5e83b0c829cae40419a26f1b0d56c8;hp=83cb50b599b010f388c13b439dc449e07356b231;hpb=36da06650079edf29192529457ffa0631427b84e;p=fs%2Flustre-release.git diff --git a/lustre/lov/lov_request.c b/lustre/lov/lov_request.c index 83cb50b..77dff64 100644 --- a/lustre/lov/lov_request.c +++ b/lustre/lov/lov_request.c @@ -197,7 +197,7 @@ lov_update_statfs(struct obd_statfs *osfs, struct obd_statfs *lov_sfs, /* assume all block sizes are always powers of 2 */ /* get the bits difference */ tmp = osfs->os_bsize | lov_sfs->os_bsize; - for (shift = 0; shift <= 64; ++shift) { + for (shift = 0; shift < 32; shift++) { if (tmp & 1) { if (quit) break;