]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit95a9cd321c887897fe2850e96dd20dadf5133ee3
treef244d06bc87d2f5a546d414d2c89bd51518c7e3c
parentd7f651ad64c2bbf2df47c3cacfbdae95740253eb
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