diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-12-02 16:12:12 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-12-03 13:12:16 -0500 |
commit | 287bd3e95452e8ad945854bb98a3a7fbdc2a05c9 (patch) | |
tree | 76dee7bed20ba74e30ffb3b4227b5b3bda8c8aeb /fs/nfs/pnfs.h | |
parent | 4d796d751cefdb942a54c570bd3087d8be3bb893 (diff) |
pNFS: Add a layoutreturn callback to performa layout-private setup
Add a callback to allow the flexfiles layout driver to initialise the
layout private payload.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/pnfs.h')
-rw-r--r-- | fs/nfs/pnfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/pnfs.h b/fs/nfs/pnfs.h index 459ac2c74af8..d1e028175cd1 100644 --- a/fs/nfs/pnfs.h +++ b/fs/nfs/pnfs.h @@ -172,6 +172,7 @@ struct pnfs_layoutdriver_type { (struct nfs_server *server, struct pnfs_device *pdev, gfp_t gfp_flags); + int (*prepare_layoutreturn) (struct nfs4_layoutreturn_args *); void (*encode_layoutreturn) (struct xdr_stream *xdr, const struct nfs4_layoutreturn_args *args); |