[PATCH-v2 07/12] target: Add transport_reset_sgl_orig() for COMPARE_AND_WRITE

2013-08-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger After COMPARE_AND_WRITE completes it's comparision, the WRITE payload SGLs head expect to be updated to point from the verify instance of user data, to the write instance of user data. So for this special case, add transport_reset_sgl_orig() usage within

[PATCH-v2 07/12] target: Add transport_reset_sgl_orig() for COMPARE_AND_WRITE

2013-08-21 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@daterainc.com After COMPARE_AND_WRITE completes it's comparision, the WRITE payload SGLs head expect to be updated to point from the verify instance of user data, to the write instance of user data. So for this special case, add transport_reset_sgl_orig() usage