]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: Convert nfsd4_process_open1() to work with lookup_clientid()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 30 Jun 2014 15:48:45 +0000 (11:48 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 10 Jul 2014 00:55:05 +0000 (20:55 -0400)
commit66ead9e279931fbd3a44eccb7361453ddad0df88
tree825c1df1d17ce999b29a9b555a1b0e9253c4da14
parentfc18f0d449289ddab7368de6182b8a538422c3b1
nfsd: Convert nfsd4_process_open1() to work with lookup_clientid()

...and have alloc_init_open_stateowner just use the cstate->clp pointer
instead of passing in a clp separately. This allows us to use the
cached nfs4_client pointer in the cstate instead of having to look it
up again.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c