mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 10:18:08 +00:00
NFSv4: Add a generic structure for managing layout-private information
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
This commit is contained in:
parent
06946c6a3d
commit
f8c3cf9d7d
@ -216,6 +216,20 @@ struct nfs4_get_lease_time_res {
|
||||
struct nfs_fsinfo *lr_fsinfo;
|
||||
};
|
||||
|
||||
struct xdr_stream;
|
||||
struct nfs4_xdr_opaque_data;
|
||||
|
||||
struct nfs4_xdr_opaque_ops {
|
||||
void (*encode)(struct xdr_stream *, const void *args,
|
||||
const struct nfs4_xdr_opaque_data *);
|
||||
void (*free)(struct nfs4_xdr_opaque_data *);
|
||||
};
|
||||
|
||||
struct nfs4_xdr_opaque_data {
|
||||
const struct nfs4_xdr_opaque_ops *ops;
|
||||
void *data;
|
||||
};
|
||||
|
||||
#define PNFS_LAYOUT_MAXSIZE 4096
|
||||
|
||||
struct nfs4_layoutdriver_data {
|
||||
|
Loading…
x
Reference in New Issue
Block a user