]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1d6ff5d4feb6e0bae18ecba07351d29747f7dc05
tree87e9f353cd5e4084d81c2ce45dab57995ffed6b8
parent527fb504b81355d72a31fdeded8adaab4f28f921
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