]> 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)
commitf2bad2056e093d4f3041683ff23fe32a3e0ab7e8
tree87e9f353cd5e4084d81c2ce45dab57995ffed6b8
parent2303e66aae803b85d76e4fd3be4fc86973c9ff61
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