aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2020-09-18 15:29:59 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2020-09-21 12:06:27 -0400
commitc754e137f55e075d6b6ad9b866c32e9aad260a83 (patch)
treea59287c5ada75aa4348834d6285ce3e7877e6264 /include/linux/nfs_xdr.h
parentpNFS/flexfiles: Ensure we initialise the mirror bsizes correctly on read (diff)
downloadlinux-dev-c754e137f55e075d6b6ad9b866c32e9aad260a83.tar.xz
linux-dev-c754e137f55e075d6b6ad9b866c32e9aad260a83.zip
pNFS/flexfiles: Be consistent about mirror index types
A mirror index is always of type u32. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r--include/linux/nfs_xdr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 9408f3252c8e..69cb46f7b8d2 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -1611,8 +1611,8 @@ struct nfs_pgio_header {
__u64 mds_offset; /* Filelayout dense stripe */
struct nfs_page_array page_array;
struct nfs_client *ds_clp; /* pNFS data server */
- int ds_commit_idx; /* ds index if ds_clp is set */
- int pgio_mirror_idx;/* mirror index in pgio layer */
+ u32 ds_commit_idx; /* ds index if ds_clp is set */
+ u32 pgio_mirror_idx;/* mirror index in pgio layer */
};
struct nfs_mds_commit_info {