linux-next: nfs client fixup
Subsystems (2)
Hi Trond,
I assume you have already found this, but the current linux-next tree fails to build if CONFIG_NFS_V4 is not set and CONFIG_NFS_FS is set.
s/nfs/client.c:192: error: 'struct nfs_client' has no member named 'cl_rpcwaitq'
Signature · 2 lines
Cheers, Stephen Rothwell [email protected]
fs/nfs/client.c +2 -0
@@ -189,7 +189,9 @@ static void nfs_free_client(struct nfs_client *clp)if (__test_and_clear_bit (NFS_CS_CALLBACK , &clp->cl_res_state))nfs_callback_down (); +#ifdef CONFIG_NFS_V4 rpc_destroy_wait_queue (&clp->cl_rpcwaitq); +#endif kfree (clp->cl_hostname);kfree (clp);
Quoted 7 lines · Stephen Rothwell
Hi Trond,
I assume you have already found this, but the current linux-next tree fails to build if
CONFIG_NFS_V4is not set andCONFIG_NFS_FSis set.
s/nfs/client.c:192: error: 'structnfs_client' has no member named 'cl_rpcwaitq'
Thanks Stephen! I assume I can add a signed-off-by line on your behalf?
Cheers
Trond
A message that is not in the archive (sent off-list or not yet received): 1204100196.7327.5.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org
Hi Trond,
Quoted 10 lines · On Wed, 27 Feb 2008 00:16:36 -0800 Trond Myklebust…
Quoted 6 lines · Stephen Rothwell
I assume you have already found this, but the current linux-next tree fails to build if
CONFIG_NFS_V4is not set andCONFIG_NFS_FSis set.
s/nfs/client.c:192: error: 'structnfs_client' has no member named 'cl_rpcwaitq'Thanks Stephen! I assume I can add a signed-off-by line on your behalf?
Yes, but I would prefer that you fold this back into the original patch that caused the breakage so that we don't have a bisection hole (if that is at all possible.
I didn't actually test (or even compile) the fix I posted as it seemed obvious ...
Signature · 2 lines
Cheers, Stephen Rothwell [email protected]