smaller patch that removes unused RPC cruft.
cl_droppriv : 1,/* enable NFS suid hack */
cl_oneshot : 1,/* dispose after use */
cl_dead : 1;/* abandoned */
- unsigned long cl_hardmax; /* max hard timeout */
struct rpc_rtt cl_rtt; /* RTO estimator data */
return rpc_call_sync(clnt, &msg, flags);
}
-
-static __inline__ void
-rpc_set_timeout(struct rpc_clnt *clnt, unsigned int retr, unsigned long incr)
-{
- xprt_set_timeout(&clnt->cl_timeout, retr, incr);
-}
-
extern void rpciod_wake_up(void);
/*
#include <linux/sunrpc/types.h>
#include <linux/wait.h>
-/*
- * Define this if you want to test the fast scheduler for async calls.
- * This is still experimental and may not work.
- */
-#undef CONFIG_RPC_FASTSCHED
-
/*
* This is the actual RPC procedure call info.
*/
}
void xdr_shift_iovec(struct iovec *, int, size_t);
-void xdr_zero_iovec(struct iovec *, int, size_t);
/*
* Maximum number of iov's we use.
extern void xdr_partial_copy_from_skb(struct xdr_buf *, unsigned int,
skb_reader_t *, skb_read_actor_t);
-extern int xdr_copy_skb(struct xdr_buf *xdr, unsigned int base,
- struct sk_buff *skb, unsigned int offset);
-
-extern int xdr_copy_and_csum_skb(struct xdr_buf *xdr, unsigned int base,
- struct sk_buff *skb, unsigned int offset, unsigned int csum);
-
#endif /* __KERNEL__ */
#endif /* _SUNRPC_XDR_H_ */