nfsd: Cleanup - Let nfsd4_lookup_stateid() take a cstate argument
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 30 Jun 2014 15:48:43 +0000 (11:48 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 10 Jul 2014 00:55:01 +0000 (20:55 -0400)
commit2dd6e458c3dc1ae598867130dc618eabbe7ccda5
tree87e9f353cd5e4084d81c2ce45dab57995ffed6b8
parentd4e19e70276a320bbc01b76fb50b5c4962ff523a
nfsd: Cleanup - Let nfsd4_lookup_stateid() take a cstate argument

The cstate already holds information about the session, and hence
the client id, so it makes more sense to pass that information
rather than the current practice of passing a 'minor version' number.

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