]> git.baikalelectronics.ru Git - kernel.git/commit
LOCKD: Clear ln->nsm_clnt only when ln->nsm_users is zero
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 24 Oct 2012 12:53:35 +0000 (08:53 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 24 Oct 2012 14:46:22 +0000 (10:46 -0400)
commit250bbd2348115900804b5701ae32dab67d6169f0
tree0136f271daecc366e6ad701fc275822e170f8dc9
parent75c02121c1b933af29d93f90ed024baa728f6d72
LOCKD: Clear ln->nsm_clnt only when ln->nsm_users is zero

The current code is clearing it in all cases _except_ when zero.

Reported-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@vger.kernel.org
fs/lockd/mon.c