diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-09-16 00:49:52 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-12-01 23:21:44 +0100 |
commit | 94e5c571fccb8eb551d3d5f5d163bf0c253a6ed8 (patch) | |
tree | 6c617e728ce6aff8f5003be492d672ec6843104d /fs/nfs/pnfs.h | |
parent | pNFS: Skip checking for return-on-close if the layout is invalid (diff) | |
download | linux-94e5c571fccb8eb551d3d5f5d163bf0c253a6ed8.tar.xz linux-94e5c571fccb8eb551d3d5f5d163bf0c253a6ed8.zip |
pNFS: Get rid of unnecessary layout parameter in encode_layoutreturn callback
The parameter is already present in the "args" structure.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/pnfs.h')
-rw-r--r-- | fs/nfs/pnfs.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/pnfs.h b/fs/nfs/pnfs.h index bc9a3aa31d3c..75ff9392127f 100644 --- a/fs/nfs/pnfs.h +++ b/fs/nfs/pnfs.h @@ -172,8 +172,7 @@ struct pnfs_layoutdriver_type { (struct nfs_server *server, struct pnfs_device *pdev, gfp_t gfp_flags); - void (*encode_layoutreturn) (struct pnfs_layout_hdr *layoutid, - struct xdr_stream *xdr, + void (*encode_layoutreturn) (struct xdr_stream *xdr, const struct nfs4_layoutreturn_args *args); void (*cleanup_layoutcommit) (struct nfs4_layoutcommit_data *data); |