Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c94897790e7c67dcfe3a0b6f035996398c268313
Commit:     c94897790e7c67dcfe3a0b6f035996398c268313
Parent:     7efb35af738e96565934cc640d863eb18dba0206
Author:     Parag Warudkar <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 23 18:09:48 2007 +0000
Committer:  Steve French <[EMAIL PROTECTED]>
CommitDate: Tue Oct 23 18:09:48 2007 +0000

    [CIFS] remove unused funtion compile warning when experimental off
    
    get rid of couple of unused function warnings which
    show up when CONFIG_CIFS_EXPERIMENTAL is not defined - wrap them in
    #ifdef CONFIG_CIFS_EXPERIMENTAL. Patch against current git.
    
    Signed-off-by: Parag Warudkar <[EMAIL PROTECTED]>
    Signed-off-by: Steve French <[EMAIL PROTECTED]>
---
 fs/cifs/cifssmb.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index f0d9a48..61d24f6 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 /* CIFS_EXPERIMENTAL */
 
 int
 CIFSSMBQueryReparseLinkInfo(const int xid, struct cifsTconInfo *tcon,
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to