Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-3963 cleanup: C89 and build cleanups
[fs/lustre-release.git]
/
lustre
/
obdclass
/
lprocfs_status.c
diff --git
a/lustre/obdclass/lprocfs_status.c
b/lustre/obdclass/lprocfs_status.c
index
9956ada
..
9527bb2
100644
(file)
--- 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
(
fls(value - 1), OBD_HIST_MAX);
+ val = min
_t(unsigned int, __
fls(value - 1), OBD_HIST_MAX);
lprocfs_oh_tally(oh, val);
}