diff options
author | Steve French <sfrench@us.ibm.com> | 2006-03-01 04:17:37 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-03-01 04:17:37 -0500 |
commit | f26282c9af43c1aff3f448af61429625174ddf06 (patch) | |
tree | 9ed1de3d97064c73d0ec6d8806a168c113588a35 /fs | |
parent | 08547b036b8445e2318e14f1f03308105b01fc5b (diff) |
[CIFS] Use correct pid on new cifs posix byte range lock call
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/cifs/cifssmb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index fea32e395cc6..3e89fbbd160f 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c | |||
@@ -1410,6 +1410,7 @@ CIFSSMBPosixLock(const int xid, struct cifsTconInfo *tcon, | |||
1410 | parm_data->length = len; /* normalize negative numbers */ | 1410 | parm_data->length = len; /* normalize negative numbers */ |
1411 | 1411 | ||
1412 | pSMB->DataOffset = cpu_to_le16(offset); | 1412 | pSMB->DataOffset = cpu_to_le16(offset); |
1413 | pSMB->Fid = smb_file_id; | ||
1413 | pSMB->InformationLevel = cpu_to_le16(SMB_SET_POSIX_LOCK); | 1414 | pSMB->InformationLevel = cpu_to_le16(SMB_SET_POSIX_LOCK); |
1414 | pSMB->Reserved4 = 0; | 1415 | pSMB->Reserved4 = 0; |
1415 | pSMB->hdr.smb_buf_length += byte_count; | 1416 | pSMB->hdr.smb_buf_length += byte_count; |
@@ -3946,6 +3947,7 @@ CIFSSMBSetFSUnixInfo(const int xid, struct cifsTconInfo *tcon, __u64 cap) | |||
3946 | 3947 | ||
3947 | cFYI(1, ("In SETFSUnixInfo")); | 3948 | cFYI(1, ("In SETFSUnixInfo")); |
3948 | SETFSUnixRetry: | 3949 | SETFSUnixRetry: |
3950 | /* BB switch to small buf init to save memory */ | ||
3949 | rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB, | 3951 | rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB, |
3950 | (void **) &pSMBr); | 3952 | (void **) &pSMBr); |
3951 | if (rc) | 3953 | if (rc) |