NFSv4: Clean up nfs4_select_rw_stateid()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 8 Mar 2012 22:42:01 +0000 (17:42 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 9 Mar 2012 03:38:55 +0000 (22:38 -0500)
commit4fc8796d23819da814ec25b7793bde8f104f1a2a
treed86513109dd792087091b6054a983271b2536f60
parent0032a7a749a49b2c044092a1d0af5cfd0077f35d
NFSv4: Clean up nfs4_select_rw_stateid()

Ensure that we select delegation stateids first, then
lock stateids and then open stateids.

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