Whamcloud - gitweb
LU-7729 target: fix process_req_last_xid() return value 45/18245/3
authorNiu Yawei <yawei.niu@intel.com>
Mon, 1 Feb 2016 16:15:44 +0000 (11:15 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 5 Feb 2016 14:56:34 +0000 (14:56 +0000)
commit8867e6138c228cce89b94fb9415a2557f8e43ad6
treeafb2f47defcd7b276671b8f94bf5e106d86e21b0
parent1299e2aff9af57fc8a79a6fa09c1676a61cbfa4b
LU-7729 target: fix process_req_last_xid() return value

process_req_last_xid() returns ptlrpc_error() on error, which
actually returns 0 to caller mistankely.

Test-Parameters: envdefinitions=ONLY=failover_ost \
clientcount=4 osscount=2 mdscount=2 mdtcount=1 \
austeroptions=-R failover=true iscsi=1 \
testlist=recovery-mds-scale

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: I136a8ef153a3ea08dcbf05e11fb412e31947be20
Reviewed-on: http://review.whamcloud.com/18245
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/target/tgt_handler.c