svn commit: linux-cifs-client r48 - in
branches/linux-2.6-cifs-git-devel/fs/cifs: .
sfrench at samba.org
sfrench at samba.org
Wed Mar 1 09:19:00 GMT 2006
Author: sfrench
Date: 2006-03-01 09:18:59 +0000 (Wed, 01 Mar 2006)
New Revision: 48
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=linux-cifs-client&rev=48
Log:
Update fid on new cifs posix byte range lock call
Modified:
branches/linux-2.6-cifs-git-devel/fs/cifs/cifssmb.c
Changeset:
Modified: branches/linux-2.6-cifs-git-devel/fs/cifs/cifssmb.c
===================================================================
--- branches/linux-2.6-cifs-git-devel/fs/cifs/cifssmb.c 2006-02-28 22:43:17 UTC (rev 47)
+++ branches/linux-2.6-cifs-git-devel/fs/cifs/cifssmb.c 2006-03-01 09:18:59 UTC (rev 48)
@@ -1410,6 +1410,7 @@
parm_data->length = len; /* normalize negative numbers */
pSMB->DataOffset = cpu_to_le16(offset);
+ pSMB->Fid = smb_file_id;
pSMB->InformationLevel = cpu_to_le16(SMB_SET_POSIX_LOCK);
pSMB->Reserved4 = 0;
pSMB->hdr.smb_buf_length += byte_count;
@@ -3946,6 +3947,7 @@
cFYI(1, ("In SETFSUnixInfo"));
SETFSUnixRetry:
+ /* BB switch to small buf init to save memory */
rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
(void **) &pSMBr);
if (rc)
More information about the samba-cvs
mailing list