The RPC clnt struct has a cl_flags field with one bit defined (in an NFS
header, no less). no one ever sets the flag, so remove flag, field, and
test in NFSv2 XDR routines that check for the flag.
unsigned int replen;
u32 count = args->count;
- /*
- * Some servers (e.g. HP OS 9.5) seem to expect the buffer size
- * to be in longwords ... check whether to convert the size.
- */
- if (task->tk_client->cl_flags & NFS_CLNTF_BUFSIZE)
- count = count >> 2;
-
p = xdr_encode_fhandle(p, args->fh);
*p++ = htonl(args->cookie);
*p++ = htonl(count); /* see above */
*/
#define NFS_RPC_SWAPFLAGS (RPC_TASK_SWAPPER|RPC_TASK_ROOTCREDS)
-/* Flags in the RPC client structure */
-#define NFS_CLNTF_BUFSIZE 0x0001 /* readdir buffer in longwords */
-
#define NFS_RW_SYNC 0x0001 /* O_SYNC handling */
#define NFS_RW_SWAP 0x0002 /* This is a swap request */
cl_droppriv : 1,/* enable NFS suid hack */
cl_oneshot : 1,/* dispose after use */
cl_dead : 1;/* abandoned */
- unsigned int cl_flags; /* misc client flags */
unsigned long cl_hardmax; /* max hard timeout */
struct rpc_rtt cl_rtt; /* RTO estimator data */