]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
NFSv4: Fix reboot recovery in copy offload
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 17 Feb 2017 23:42:32 +0000 (18:42 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 22 Feb 2017 18:49:11 +0000 (13:49 -0500)
commit9d8cacbf5636657d2cd0dda17438a56d806d3224
tree80b2c01795b952d8fd4c8dad20c2c9a971666cab
parentdf3ab232e462bce20710596d697ade6b72497694
NFSv4: Fix reboot recovery in copy offload

Copy offload code needs to be hooked into the code for handling
NFS4ERR_BAD_STATEID by ensuring that we set the "stateid" field
in struct nfs4_exception.

Reported-by: Olga Kornievskaia <aglo@umich.edu>
Fixes: 2e72448b07dc3 ("NFS: Add COPY nfs operation")
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: stable@vger.kernel.org # v4.7+
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs42proc.c