linux/fs/nfsd/flexfilelayoutxdr.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (c) 2016 Tom Haynes <[email protected]>
 */
#ifndef _NFSD_FLEXFILELAYOUTXDR_H
#define _NFSD_FLEXFILELAYOUTXDR_H

#include <linux/inet.h>
#include "xdr4.h"

#define FF_FLAGS_NO_LAYOUTCOMMIT
#define FF_FLAGS_NO_IO_THRU_MDS
#define FF_FLAGS_NO_READ_IO

struct xdr_stream;

#define FF_NETID_LEN
#define FF_ADDR_LEN
struct pnfs_ff_netaddr {};

struct pnfs_ff_device_addr {};

struct pnfs_ff_layout {};

__be32 nfsd4_ff_encode_getdeviceinfo(struct xdr_stream *xdr,
		const struct nfsd4_getdeviceinfo *gdp);
__be32 nfsd4_ff_encode_layoutget(struct xdr_stream *xdr,
		const struct nfsd4_layoutget *lgp);

#endif /* _NFSD_FLEXFILELAYOUTXDR_H */