staging/lustre/mgc: check the import stat for lprocfs
authorHongchao Zhang <hongchao.zhang@intel.com>
Thu, 26 Mar 2015 01:53:20 +0000 (21:53 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 10:10:24 +0000 (11:10 +0100)
commit1c8aa54aaf2c74a28a9e427bb27fd1a12fca8536
tree8c053bd568c7b4bb25d5a39278479d0206edb04e
parent06fbc01a870eea4431ca340642da7bfd4a5a262e
staging/lustre/mgc: check the import stat for lprocfs

in lprocfs_mgc_rd_ir_state, the import state should be checked
the validity before doing further work.

Signed-off-by: Hongchao Zhang <hongchao.zhang@intel.com>
Reviewed-on: http://review.whamcloud.com/12896
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5650
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/mgc/mgc_request.c
This page took 0.025078 seconds and 5 git commands to generate.