Skip to contentSkip to conversation

question about fs/smbfs/request.c

PATCH Julia Lawall 1 participant 1 message Feb 22, 2010 VFS

lore
Share & tools
lore
#0 lore raw

The code below seems suspicious. Which definition of mdata is the right one?

This is not intended as a proper patch. I can send a proper patch when I know what to do.

julia

fs/smbfs/request.c +0 -1
diff -u -p a/fs/smbfs/request.c b/fs/smbfs/request.c
@@ -218,7 +218,6 @@ static int smb_setup_trans2request(struc
 	 * OS/2 is probably going to hate me for this ...
 	 */
 	mparam = SMB_TRANS2_MAX_PARAM;
-	mdata = req->rq_bufsize - mparam;
 
 	mdata = server->opt.max_xmit - mparam - 100;
 	if (mdata < 1024) {