summaryrefslogtreecommitdiff
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorPeng Tao <tao.peng@primarydata.com>2014-09-06 00:53:21 +0800
committerTom Haynes <loghyr@primarydata.com>2015-02-03 11:06:40 -0800
commit4579d6b897ee1b2557517fd536fb17eeb13481ad (patch)
tree92af129f8ab2576f6f2499520105a1745e5b3924 /include/linux/nfs_xdr.h
parentaabff4ddcac0d36dd26546f5b905c27682e7bf89 (diff)
downloadlwn-4579d6b897ee1b2557517fd536fb17eeb13481ad.tar.gz
lwn-4579d6b897ee1b2557517fd536fb17eeb13481ad.zip
nfs41: pass iomode through layoutreturn args
So that it is possible to return a specific iomode layouts. Signed-off-by: Peng Tao <tao.peng@primarydata.com> Signed-off-by: Tom Haynes <Thomas.Haynes@primarydata.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r--include/linux/nfs_xdr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 962f461c065d..4fd7793d45d1 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -293,6 +293,7 @@ struct nfs4_layoutreturn_args {
struct nfs4_sequence_args seq_args;
struct pnfs_layout_hdr *layout;
struct inode *inode;
+ enum pnfs_iomode iomode;
nfs4_stateid stateid;
__u32 layout_type;
};