Whamcloud - gitweb
LU-2942 ptlrpc: Fix an unswabbed status check in after_reply()
authorLi Wei <wei.g.li@intel.com>
Mon, 11 Mar 2013 07:18:49 +0000 (15:18 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 13 Mar 2013 06:13:50 +0000 (02:13 -0400)
commit94dc17a687b601c4f1a3809a19f835385cca4a51
treebba5ba1d2ab047613e8cacec16866c900368f1c9
parentc3d4fb2c9f4d22d4e08e2461d07b1f6fa3f7b8e5
LU-2942 ptlrpc: Fix an unswabbed status check in after_reply()

The -EINPROGRESS handling in after_reply() checks reply status while
pb_status still contains unswabbed data.  This patch moves the block
below the unpack_reply() call.

Change-Id: I619b26d213708b8f5c250cdf085f359bba31ffae
Signed-off-by: Li Wei <wei.g.li@intel.com>
Reviewed-on: http://review.whamcloud.com/5667
Tested-by: Hudson
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/ptlrpc/client.c