aboutsummaryrefslogtreecommitdiff
path: root/fs/gfs2/lock_dlm.c
diff options
context:
space:
mode:
authorGravatar Ben Hutchings <ben@decadent.org.uk> 2015-08-27 12:51:45 -0500
committerGravatar Bob Peterson <rpeterso@redhat.com> 2015-09-03 13:33:32 -0500
commit4d207133e9c362bc05a3bb6701d63eeb75cc4b77 (patch)
tree45de61b850feea62ac24f7891fb82634b920acd5 /fs/gfs2/lock_dlm.c
parentGFS2: Use resizable hash table for glocks (diff)
downloadlinux-4d207133e9c362bc05a3bb6701d63eeb75cc4b77.tar.gz
linux-4d207133e9c362bc05a3bb6701d63eeb75cc4b77.tar.bz2
linux-4d207133e9c362bc05a3bb6701d63eeb75cc4b77.zip
gfs2: Make statistics unsigned, suitable for use with do_div()
None of these statistics can meaningfully be negative, and the numerator for do_div() must have the type u64. The generic implementation of do_div() used on some 32-bit architectures asserts that, resulting in a compiler error in gfs2_rgrp_congested(). Fixes: 0166b197c2ed ("GFS2: Average in only non-zero round-trip times ...") Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Bob Peterson <rpeterso@redhat.com> Acked-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/lock_dlm.c')
0 files changed, 0 insertions, 0 deletions