NFS: __nfs_find_lock_context needs to check ctx->lock_context for a match too
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 15 Mar 2013 22:11:31 +0000 (18:11 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 25 Mar 2013 16:04:10 +0000 (12:04 -0400)
commit8c86899f62738b8a22ca3a5f060e269b92e5545a
tree91e5ddee636aad49c8440f81d14825bc1e460af2
parentc58c844187df61ef7cc103d0abb5dd6198bcfcd6
NFS: __nfs_find_lock_context needs to check ctx->lock_context for a match too

Currently, we're forcing an unnecessary duplication of the
initial nfs_lock_context in calls to nfs_get_lock_context, since
__nfs_find_lock_context ignores the ctx->lock_context.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/inode.c