Re: [PATCH] [CIFS] Silence two "defined but unused" warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This should already be in the cifs-2.6.git tree and next -mm (I am
waiting on the finish up of some CIFS ACL mapping code before
requesting another cifs merge with mainline)

http://git.kernel.org/?p=linux/kernel/git/sfrench/cifs-2.6.git;a=commitdiff;h=c94897790e7c67dcfe3a0b6f035996398c268313

On 10/28/07, Stephen Rothwell <[email protected]> wrote:
>
> Signed-off-by: Stephen Rothwell <[email protected]>
> ---
>  fs/cifs/cifssmb.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> --
> Cheers,
> Stephen Rothwell                    [email protected]
>
> diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
> index f0d9a48..aa9dc9e 100644
> --- a/fs/cifs/cifssmb.c
> +++ b/fs/cifs/cifssmb.c
> @@ -2486,6 +2486,7 @@ querySymLinkRetry:
>         return rc;
>  }
>
> +#ifdef CONFIG_CIFS_EXPERIMENTAL
>  /* Initialize NT TRANSACT SMB into small smb request buffer.
>     This assumes that all NT TRANSACTS that we init here have
>     total parm and data under about 400 bytes (to fit in small cifs
> @@ -2569,6 +2570,7 @@ validate_ntransact(char *buf, char **ppparm, char **ppdata,
>         }
>         return 0;
>  }
> +#endif /* CONFIG_CIFS_EXPERIMENTAL */
>
>  int
>  CIFSSMBQueryReparseLinkInfo(const int xid, struct cifsTconInfo *tcon,
> --
> 1.5.3.4
>
>


-- 
Thanks,

Steve
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux