staging/lustre/mdc: cleanup intent if mdc_finish_enqueue() fails
authorJohn L. Hammond <john.hammond@intel.com>
Fri, 15 Aug 2014 16:48:07 +0000 (12:48 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Aug 2014 16:38:42 +0000 (09:38 -0700)
commit7591805af511b7f71fec87c69a539d1d0cfb93a1
treedf03e038a296d43619c982a40d6c9f14892da0a1
parent6b2eb32e697d151ebaf52f9b0304d16f63a27b43
staging/lustre/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>
Reviewed-on: http://review.whamcloud.com/10963
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5289
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/mdc/mdc_locks.c