summaryrefslogtreecommitdiff
path: root/fs/nfsd/xdr4.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2024-04-30 23:05:10 +0300
committerChuck Lever <chuck.lever@oracle.com>2024-05-06 16:07:23 +0300
commita8483b9ad92c9d07122efe8697f0f42f6c41d1b1 (patch)
tree6d914ca2d51e82459662c56c124e76c71871c205 /fs/nfsd/xdr4.h
parentf2ad13ad08e14ed04395b5bfe2ced5cdbd69b174 (diff)
downloadlinux-a8483b9ad92c9d07122efe8697f0f42f6c41d1b1.tar.xz
NFSD: Record status of async copy operation in struct nfsd4_copy
After a client has started an asynchronous COPY operation, a subsequent OFFLOAD_STATUS operation will need to report the status code once that COPY operation has completed. The recorded status record will be used by a subsequent patch. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
-rw-r--r--fs/nfsd/xdr4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h
index 446e72b0385e..62805931e857 100644
--- a/fs/nfsd/xdr4.h
+++ b/fs/nfsd/xdr4.h
@@ -694,6 +694,7 @@ struct nfsd4_copy {
#define NFSD4_COPY_F_COMMITTED (3)
/* response */
+ __be32 nfserr;
struct nfsd42_write_res cp_res;
struct knfsd_fh fh;