public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* CIFS thinko ?
@ 2004-04-16 21:12 Dave Jones
  0 siblings, 0 replies; only message in thread
From: Dave Jones @ 2004-04-16 21:12 UTC (permalink / raw)
  To: Steven French; +Cc: Linux Kernel

This code looks odd. Maybe this is needed ?

		Dave

--- linux-2.6.5/fs/cifs/cifssmb.c~	2004-04-16 22:10:46.000000000 +0100
+++ linux-2.6.5/fs/cifs/cifssmb.c	2004-04-16 22:11:20.000000000 +0100
@@ -69,7 +69,7 @@
 		return rc;
 
 	*request_buf = buf_get();
-	if (request_buf == 0) {
+	if (*request_buf == 0) {
 		return -ENOMEM;
 	}
     /* Although the original thought was we needed the response buf for  */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-04-16 21:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-16 21:12 CIFS thinko ? Dave Jones

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