NFSv4: Refactor _nfs4_open_and_get_state to set ctx->state
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 29 May 2013 17:17:04 +0000 (13:17 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 6 Jun 2013 20:24:42 +0000 (16:24 -0400)
commit3efb9722475e56c8878ce09395dd8ccb7a1a3611
tree95b26a56565040fbd6f96e00ed7e5777abdea531
parent4197a055eb06f5fa7e73290b8b710cd32176cd41
NFSv4: Refactor _nfs4_open_and_get_state to set ctx->state

Instead of having the callers set ctx->state, do it inside
_nfs4_open_and_get_state.

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