[<prev] [next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.0.99.0710222235590.16793@parag-desktop>
Date: Mon, 22 Oct 2007 22:42:25 -0400 (EDT)
From: Parag Warudkar <parag@...cast.net>
To: sfrench@...ba.org
cc: linux-kernel@...r.kernel.org, akpm@...ux-foundation.org
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@...cast.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists