X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fobdclass%2Flprocfs_status.c;h=9956ada9cbba9417a29ce09026c565fd40ec8f9d;hb=e5f552b70dccbd2fdf21ec7b7053a01bcbe062c2;hp=9527bb2003cd3649768ce9121607f29cbb9f3c15;hpb=0bafbd7d8f652997d83b3cc2419894f48833f424;p=fs%2Flustre-release.git diff --git a/lustre/obdclass/lprocfs_status.c b/lustre/obdclass/lprocfs_status.c index 9527bb2..9956ada 100644 --- a/lustre/obdclass/lprocfs_status.c +++ b/lustre/obdclass/lprocfs_status.c @@ -3281,7 +3281,7 @@ void lprocfs_oh_tally_log2(struct obd_histogram *oh, unsigned int value) unsigned int val = 0; if (likely(value != 0)) - val = min_t(unsigned int, __fls(value - 1), OBD_HIST_MAX); + val = min(fls(value - 1), OBD_HIST_MAX); lprocfs_oh_tally(oh, val); }