lkml.org 
[lkml]   [2007]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] cifssmb.c: Wrap unused functions in appropriate #ifdef

fs/cifs/cifssmb.c - 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>

--- linux-2.6-wk/fs/cifs/cifssmb.c.orig 2007-10-21 19:12:53.000000000 -0400
+++ linux-2.6-wk/fs/cifs/cifssmb.c 2007-10-22 22:19:27.000000000 -0400
@@ -2485,7 +2485,7 @@
goto 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 +2569,7 @@
}
return 0;
}
+#endif

int
CIFSSMBQueryReparseLinkInfo(const int xid, struct cifsTconInfo *tcon,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2007-10-23 04:45    [W:0.053 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site