summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorTrond Myklebust2015-02-05 22:35:16 +0100
committerTrond Myklebust2015-02-06 04:16:45 +0100
commit5a0ec8acb945e302ce819b4a9787796ccf284548 (patch)
treeda14a82a655160b85440bc6981b91e25f9303299 /include/linux/nfs_xdr.h
parentNFSv4.1: Pin the inode and super block in asynchronous layoutcommit (diff)
downloadkernel-qcow2-linux-5a0ec8acb945e302ce819b4a9787796ccf284548.tar.gz
kernel-qcow2-linux-5a0ec8acb945e302ce819b4a9787796ccf284548.tar.xz
kernel-qcow2-linux-5a0ec8acb945e302ce819b4a9787796ccf284548.zip
NFSv4.1: Pin the inode and super block in asynchronous layoutreturns
If we're sending an asynchronous layoutreturn, then we need to ensure that the inode and the super block remain pinned. Cc: Peng Tao <tao.peng@primarydata.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Reviewed-by: Peng Tao <tao.peng@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 bb0d56f737e0..38d96ba935c2 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -310,6 +310,7 @@ struct nfs4_layoutreturn {
struct nfs4_layoutreturn_res res;
struct rpc_cred *cred;
struct nfs_client *clp;
+ struct inode *inode;
int rpc_status;
};