Whamcloud - gitweb
LU-3300 lprocfs: interpret result of dt_statfs() correctly
authorJohn L. Hammond <john.hammond@intel.com>
Tue, 21 May 2013 15:45:49 +0000 (10:45 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 22 May 2013 18:58:10 +0000 (14:58 -0400)
commit297de8f659348e501c4b19603b12ca2769eac9e6
tree7c9a6439d99e62a92e290fc1cdd44b2f6cf7773e
parented951781f1225d020a67bb98fb24b7ec288c1854
LU-3300 lprocfs: interpret result of dt_statfs() correctly

In a7369bcd860af61a073cb2424139e3acccdcb203, I accidentally reversed
the sense of the error check after the call to dt_statfs() in
lprocfs_dt_rd_{blksize,{files,kbytes}{free,avail}. Unreverse the error
checking.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I91873f23cd69c2217474c26b9751aec259fae155
Reviewed-on: http://review.whamcloud.com/6385
Reviewed-by: Robert Read <robert.read@intel.com>
Tested-by: Hudson
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/obdclass/dt_object.c