lkml.org 
[lkml]   [2004]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectCIFS thinko ?
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 */
-
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: 2005-03-22 14:02    [W:0.021 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site