]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitedd48e6d1e1abd591222b083688584c098dba045
tree7b22583a6a05c09e1ca32f3bb3d4730a81fd50d9
parent5243d90c2c7fedb204f7d44d5619a47866325f85
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