]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit32736f844916a4ab3b2a9d55542459102e74439c
tree91e5ddee636aad49c8440f81d14825bc1e460af2
parentbcfcaaca658bd9b37d9e7034e69442343ad88e0b
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