diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-09-23 17:38:08 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-12-03 05:37:45 +0100 |
commit | 4d796d751cefdb942a54c570bd3087d8be3bb893 (patch) | |
tree | 52d97c2b7a3a6d8d3b67cdec678fd11c56ef5db9 /fs/nfs/pnfs.c | |
parent | NFSv4: Add a generic structure for managing layout-private information (diff) | |
download | linux-4d796d751cefdb942a54c570bd3087d8be3bb893.tar.xz linux-4d796d751cefdb942a54c570bd3087d8be3bb893.zip |
pNFS: Allow layout drivers to manage private data in struct nfs4_layoutreturn
Cleanup to allow layout drivers to attach private data to layoutreturn,
and manage the data.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/pnfs.c')
-rw-r--r-- | fs/nfs/pnfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c index 0b25a1c820ba..4631d15227ae 100644 --- a/fs/nfs/pnfs.c +++ b/fs/nfs/pnfs.c @@ -1086,6 +1086,7 @@ pnfs_send_layoutreturn(struct pnfs_layout_hdr *lo, const nfs4_stateid *stateid, } pnfs_init_layoutreturn_args(&lrp->args, lo, stateid, iomode); + lrp->args.ld_private = &lrp->ld_private; lrp->clp = NFS_SERVER(ino)->nfs_client; lrp->cred = lo->plh_lc_cred; |