aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
authorParag Warudkar <kernel-stuff@comcast.net>2007-10-23 14:09:48 -0400
committerSteve French <sfrench@us.ibm.com>2007-10-23 14:09:48 -0400
commitc94897790e7c67dcfe3a0b6f035996398c268313 (patch)
tree1e4cabdbcfc78f4734d4d23a46921945b8ee93eb /fs/cifs
parent7efb35af738e96565934cc640d863eb18dba0206 (diff)
[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 <kernel-stuff@comcast.net> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/cifssmb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index f0d9a485d095..61d24f6ee64e 100644
--- a/fs/cifs/cifssmb.c
+++ b/fs/cifs/cifssmb.c
@@ -2486,6 +2486,7 @@ querySymLinkRetry:
2486 return rc; 2486 return rc;
2487} 2487}
2488 2488
2489#ifdef CONFIG_CIFS_EXPERIMENTAL
2489/* Initialize NT TRANSACT SMB into small smb request buffer. 2490/* Initialize NT TRANSACT SMB into small smb request buffer.
2490 This assumes that all NT TRANSACTS that we init here have 2491 This assumes that all NT TRANSACTS that we init here have
2491 total parm and data under about 400 bytes (to fit in small cifs 2492 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,
2569 } 2570 }
2570 return 0; 2571 return 0;
2571} 2572}
2573#endif /* CIFS_EXPERIMENTAL */
2572 2574
2573int 2575int
2574CIFSSMBQueryReparseLinkInfo(const int xid, struct cifsTconInfo *tcon, 2576CIFSSMBQueryReparseLinkInfo(const int xid, struct cifsTconInfo *tcon,