]> 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)
commit3f6c1fce9234758747d62b554ac7154020814c6f
treef6a1bd75871599cc37f9f116fd954b15d26b9c72
parentc5c0b49dd2d8e8f0d4a6f96ebee87aaafd9a0069
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