NFSv4: Clean up pNFS return-on-close error handling
authorTrond Myklebust <trondmy@gmail.com>
Fri, 20 Sep 2019 11:23:41 +0000 (07:23 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 20 Sep 2019 19:27:51 +0000 (15:27 -0400)
commit287a9c558b9b825b3af36731bb09b06621f3e744
tree1d4b29fb5783ebabbdc6f701570d10944a871456
parent9c47b18cf722184f32148784189fca945a7d0561
NFSv4: Clean up pNFS return-on-close error handling

Both close and delegreturn have identical code to handle pNFS
return-on-close. This patch refactors that code and places it
in pnfs.c

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