question about fs/smbfs/request.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


diff -u -p a/fs/smbfs/request.c b/fs/smbfs/request.c
--- 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) {
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux