]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: lustre: llite: fix ll_statahead_thread() problems on failure
authorLi Xi <lixi@ddn.com>
Sun, 18 Sep 2016 20:37:00 +0000 (16:37 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Sep 2016 07:24:10 +0000 (09:24 +0200)
commitcfa4860592ba641077a439bf2848dcf57803f422
tree94d08e5d6e94401d45af05fc4f64cda67f5cebb6
parentb125a1b2b9d4692a0f17435101cf3cdaae1d5b25
staging: lustre: llite: fix ll_statahead_thread() problems on failure

When ll_prep_md_op_data() fails, ll_statahead_thread() does not
release reference of sai and parent dentry. It does not wake
up parent thread either. This patch fixes these problems.

Signed-off-by: Li Xi <lixi@ddn.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5274
Reviewed-on: http://review.whamcloud.com/10940
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.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>
drivers/staging/lustre/lustre/llite/statahead.c