Whamcloud - gitweb
LU-4858 ofd: statfs small fixes 82/10082/2
authorLai Siyao <lai.siyao@intel.com>
Thu, 24 Apr 2014 13:14:15 +0000 (21:14 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 30 Apr 2014 04:36:31 +0000 (04:36 +0000)
commita7246f90052f0b38637d365b9743cafd56c89a9d
tree402851deb2f5199e9ce3917113d3732dda182968
parent516621bf24bb885549a9246b9c06622cfb05e1f4
LU-4858 ofd: statfs small fixes

ofd_osd is valid in its life time because ofd is released before
osd, so it should never be cleared.

revive o_statfs for ofd_obd_ops which was mistakenly removed in
commit I5622e14bccacb809bca1c10499c23bcaf72e2a68.

Signed-off-by: Lai Siyao <lai.siyao@intel.com>
Change-Id: I3cb6d82b71b3018b4fc9e885eb6533b064179238
Reviewed-on: http://review.whamcloud.com/10082
Tested-by: Jenkins
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
lustre/ofd/ofd_dev.c
lustre/ofd/ofd_obd.c