Skip to contentSkip to conversation

CIFS thinko ?

PATCH Dave Jones 1 participant 1 message Apr 16, 2004

lore
Share & tools
lore

Dave Jones

author
#0 lore raw

This code looks odd. Maybe this is needed ?

Dave

fs/cifs/cifssmb.c renamed from fs/cifs/cifssmb.c~ +1 -1
@@ -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  */