summaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lustre/ldlm/ldlm_request.c
diff options
context:
space:
mode:
authorJinshan Xiong <jinshan.xiong@intel.com>2017-02-18 16:47:05 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-06 09:16:59 +0100
commit5fd8f8b8d5e4aff6c05229bcd51c1852d4fa04f5 (patch)
tree11901974aa28af7fb5ba749afc603a49b10f5959 /drivers/staging/lustre/lustre/ldlm/ldlm_request.c
parent719e9e08aa91a3f5c2f66aa8655dcc71f0e5651c (diff)
downloadop-kernel-dev-5fd8f8b8d5e4aff6c05229bcd51c1852d4fa04f5.zip
op-kernel-dev-5fd8f8b8d5e4aff6c05229bcd51c1852d4fa04f5.tar.gz
staging: lustre: lov: cleanup when cl_io_iter_init() fails
In lov_io_iter_init(), if cl_io_iter_init() against sub io fails, it should call cl_io_iter_fini() to cleanup leftover information; Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6271 Reviewed-on: http://review.whamcloud.com/16456 Reviewed-by: Bobi Jam <bobijam@hotmail.com> Reviewed-by: John L. Hammond <john.hammond@intel.com> Reviewed-by: James Simmons <uja.ornl@yahoo.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/ldlm/ldlm_request.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud