Whamcloud - gitweb
LU-5123 procfs: u64 helper does not respect multiplier 35/10535/5
authorStephen Champion <schamp@sgi.com>
Sat, 31 May 2014 00:35:45 +0000 (17:35 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 25 Jun 2014 21:51:16 +0000 (21:51 +0000)
commita66c72c37140e17f600f9cab8f8f3b09374a96c4
treea23ffb2871e0bd0451dc8f6b2cf56d5e8ae2be44
parent38ea68115c917c4169016f80ffc3303e40f5624a
LU-5123 procfs: u64 helper does not respect multiplier

lprocfs_write_frac_u64_helper should apply the multiplier argument to
the value if units are not specified by the user.  It has been
overriding the multiplier with '1' regardless.

Signed-off-by: Stephen Champion <schamp@sgi.com>
Change-Id: Iaacbb6923122479ba1ba4a5ee0088c670245d081
Reviewed-on: http://review.whamcloud.com/10535
Tested-by: Jenkins
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/obdclass/lprocfs_status.c