]> git.baikalelectronics.ru Git - kernel.git/commit
staging/lustre/lprocfs: interpret result of dt_statfs() correctly
authorJohn L. Hammond <john.hammond@intel.com>
Wed, 5 Jun 2013 13:13:40 +0000 (21:13 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Jun 2013 22:16:22 +0000 (15:16 -0700)
commit8e8e0d00084cf8758d6a71b611e316b1d0d5b3c1
tree8614caf8127606d854d65ee936aaadc85b390772
parent61d903e434f8b47324b62071b3ab3a0a7b2f1285
staging/lustre/lprocfs: interpret result of dt_statfs() correctly

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.

Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3300
Lustre-change: http://review.whamcloud.com/6385
Signed-off-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Robert Read <robert.read@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Peng Tao <tao.peng@emc.com>
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/dt_object.c