mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] [CIFS] Silence two "defined but unused" warning
@ 2007-10-29  2:55 Stephen Rothwell
  2007-10-29  4:01 ` Steve French
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2007-10-29  2:55 UTC (permalink / raw)
  To: Steve French; +Cc: LKML, linux-cifs-client


Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 fs/cifs/cifssmb.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] [CIFS] Silence two "defined but unused" warning
  2007-10-29  2:55 [PATCH] [CIFS] Silence two "defined but unused" warning Stephen Rothwell
@ 2007-10-29  4:01 ` Steve French
  0 siblings, 0 replies; 2+ messages in thread
From: Steve French @ 2007-10-29  4:01 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: LKML, linux-cifs-client

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 <sfr@canb.auug.org.au> wrote:
>
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> ---
>  fs/cifs/cifssmb.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> --
> Cheers,
> Stephen Rothwell                    sfr@canb.auug.org.au
>
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-29  4:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-29  2:55 [PATCH] [CIFS] Silence two "defined but unused" warning Stephen Rothwell
2007-10-29  4:01 ` Steve French

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®