From: Chris Rorvick Date: Wed, 17 Dec 2014 04:24:01 +0000 (-0600) Subject: drivers: staging: lustre: Use mult if units not specified X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~327 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=965bd8b9f743dfc7fd4175fc5072643d321e55d4;p=pandora-kernel.git drivers: staging: lustre: Use mult if units not specified Units can be passed to lprocfs_write_frac_u64_helper() via a suffix (e.g., "...K", "...M", etc.) tacked onto the value. A comment states that "specified units override the multiplier," though the multiplier is overridden regardless. Update the conditional logic so that it only applies when units are specified. Signed-off-by: Chris Rorvick Reviewed-by: Andreas Dilger Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed