]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: nrs: serialize executions of nrs_policy_stop
authorHenri Doreau <henri.doreau@cea.fr>
Thu, 10 Nov 2016 17:30:44 +0000 (12:30 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Nov 2016 15:02:55 +0000 (16:02 +0100)
commit04e1e0d10e98bcf36a8645f4e38d847702a047a9
treef244d06bc87d2f5a546d414d2c89bd51518c7e3c
parent7051eb4c92881fe9aea09934c3f628e184d2b34d
staging: lustre: nrs: serialize executions of nrs_policy_stop

Do not release nrs_lock in nrs_policy_stop0 to prevent op_policy_stop()
from being executed concurrently.

Signed-off-by: Henri Doreau <henri.doreau@cea.fr>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7096
Reviewed-on: http://review.whamcloud.com/16214
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@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/ptlrpc/nrs.c