aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2015-02-05 16:50:30 -0500
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-02-05 22:16:33 -0500
commit472e259449819d939b5a5188b6f4c7d59aa4304c (patch)
tree8ba4fa5bd74f3fccf84ebdea8f63b6c85b921466 /include/linux/nfs_xdr.h
parentNFSv4: Ensure we reference the inode for return-on-close in delegreturn (diff)
downloadlinux-dev-472e259449819d939b5a5188b6f4c7d59aa4304c.tar.xz
linux-dev-472e259449819d939b5a5188b6f4c7d59aa4304c.zip
NFSv4.1: Pin the inode and super block in asynchronous layoutcommit
If we're sending an asynchronous layoutcommit, then we need to ensure that the inode and the super block remain pinned. 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 2c35e2affa6f..bb0d56f737e0 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -285,6 +285,7 @@ struct nfs4_layoutcommit_data {
struct nfs_fattr fattr;
struct list_head lseg_list;
struct rpc_cred *cred;
+ struct inode *inode;
struct nfs4_layoutcommit_args args;
struct nfs4_layoutcommit_res res;
};