diff options
Diffstat (limited to 'fs/cifs')
-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) |