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)
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

No differences found