diff options
| author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-02-05 16:35:16 -0500 |
|---|---|---|
| committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-02-05 22:16:45 -0500 |
| commit | 5a0ec8acb945e302ce819b4a9787796ccf284548 (patch) | |
| tree | da14a82a655160b85440bc6981b91e25f9303299 /include/linux | |
| parent | 472e259449819d939b5a5188b6f4c7d59aa4304c (diff) | |
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')
| -rw-r--r-- | include/linux/nfs_xdr.h | 1 |
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 { | |||
| 310 | struct nfs4_layoutreturn_res res; | 310 | struct nfs4_layoutreturn_res res; |
| 311 | struct rpc_cred *cred; | 311 | struct rpc_cred *cred; |
| 312 | struct nfs_client *clp; | 312 | struct nfs_client *clp; |
| 313 | struct inode *inode; | ||
| 313 | int rpc_status; | 314 | int rpc_status; |
| 314 | }; | 315 | }; |
| 315 | 316 | ||
