NFSv4: Use the right stateid for delegations in setattr, read and write
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 16 May 2016 21:42:44 +0000 (17:42 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 17 May 2016 19:48:07 +0000 (15:48 -0400)
commitabf4e13cc1e16ed83ec8363d44f76149034b2851
tree7b22583a6a05c09e1ca32f3bb3d4730a81fd50d9
parent93b717fd81bf6b9a73c3702e9b079b4de8148b34
NFSv4: Use the right stateid for delegations in setattr, read and write

When we're using a delegation to represent our open state, we should
ensure that we use the stateid that was used to create that delegation.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/delegation.c
fs/nfs/delegation.h
fs/nfs/nfs4_fs.h
fs/nfs/nfs4proc.c
fs/nfs/nfs4state.c