]> git.baikalelectronics.ru Git - kernel.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)
commitf6c1038cdbefedcfcf9f34d33b0b11555f402d32
tree80b2c01795b952d8fd4c8dad20c2c9a971666cab
parentf3592175680226bbe9a56244d47c0f830604ebe1
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: ee9832a6de7c5 ("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