@@ -41,7 +41,6 @@
#include <linux/nfs_fs.h>
#include <linux/nfs_page.h>
-#include <linux/exp_xdr.h>
#include <scsi/osd_protocol.h>
#define PNFS_OSD_OSDNAME_MAXSIZE 256
@@ -333,11 +332,6 @@ extern bool pnfs_osd_xdr_decode_layout_comp(struct pnfs_osd_object_cred *comp,
struct pnfs_osd_xdr_decode_layout_iter *iter, struct xdr_stream *xdr,
int *err);
-/* Layout encoding */
-extern int pnfs_osd_xdr_encode_layout(
- struct exp_xdr_stream *xdr,
- struct pnfs_osd_layout *layout);
-
/* Device Info helpers */
/* Note: All strings inside @deviceaddr point to space inside @p.
@@ -346,10 +340,6 @@ extern int pnfs_osd_xdr_encode_layout(
extern void pnfs_osd_xdr_decode_deviceaddr(
struct pnfs_osd_deviceaddr *deviceaddr, __be32 *p);
-/* For Servers */
-extern int pnfs_osd_xdr_encode_deviceaddr(
- struct exp_xdr_stream *xdr, struct pnfs_osd_deviceaddr *devaddr);
-
/* layoutupdate (layout_commit) xdr helpers */
extern int
pnfs_osd_xdr_encode_layoutupdate(struct xdr_stream *xdr,
Server API will be added later with it's implementation patch. This also removes the dependency on the exp_xdr_stream header. Signed-off-by: Boaz Harrosh <bharrosh@panasas.com> --- include/linux/pnfs_osd_xdr.h | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-)