NLM/lockd: Ensure client locking calls use correct credentials
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 2 Apr 2008 18:44:05 +0000 (14:44 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 19 Apr 2008 20:54:43 +0000 (16:54 -0400)
commitd11d10cc05c94a32632d6928d15a1034200dd9a5
tree8d6aec826f4673cf0aea98dda2c5ce39185a5d0b
parentc4d7c402b788b73dc24f1e54a57f89d3dc5eb7bc
NLM/lockd: Ensure client locking calls use correct credentials

Now that we've added the 'generic' credentials (that are independent of the
rpc_client) to the nfs_open_context, we can use those in the NLM client to
ensure that the lock/unlock requests are authenticated to whoever
originally opened the file.

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