]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Don't open code clearing of delegation state
authorTrond Myklebust <trondmy@gmail.com>
Wed, 5 Sep 2018 18:07:15 +0000 (14:07 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 14 Sep 2018 20:24:27 +0000 (16:24 -0400)
commit7a5e72ccef32fb7b38ad0b322e6d7fabb79a74ff
treef6a1bd75871599cc37f9f116fd954b15d26b9c72
parentcc212c41fc2fd73f8525366c2dd7a691c8ff6f0c
NFS: Don't open code clearing of delegation state

Add a helper for the case when the nfs4 open state has been set to use
a delegation stateid, and we want to revert to using the open stateid.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4proc.c