Whamcloud - gitweb
LU-5289 mdc: cleanup intent if mdc_finish_enqueue() fails 63/10963/2
authorJohn L. Hammond <john.hammond@intel.com>
Thu, 3 Jul 2014 16:00:11 +0000 (11:00 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 8 Jul 2014 15:56:04 +0000 (15:56 +0000)
commit79165939172df8c608dd2cb134da1ef7911aaf4b
treeb7db2dd9847260ee99a15194d4c5f18acaeda2f9
parentfb855d0a03b5702ab38942fc1b1e41b28420acfd
LU-5289 mdc: cleanup intent if mdc_finish_enqueue() fails

In mdc_enqueue() clear the lock handle, lock mode, and request stored
in the lookup intent if mdc_finish_enqueue() fails.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I233588ab13df86be509a9763e00697d29dee1c7c
Reviewed-on: http://review.whamcloud.com/10963
Tested-by: Jenkins
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/mdc/mdc_locks.c