summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-06-02 11:04:13 +1000
committerAndrew Tridgell <tridge@samba.org>2008-06-02 11:04:13 +1000
commit8da3217d1b6b8b7a7b977c1722bc6ad39df49762 (patch)
treeeb9ad5372d03d49ceca153fcb232f5df4142dedf /source4/ntvfs/posix
parent1bdd08227e7d046305705050f21f0f1b6dd6994a (diff)
downloadsamba-8da3217d1b6b8b7a7b977c1722bc6ad39df49762.tar.gz
samba-8da3217d1b6b8b7a7b977c1722bc6ad39df49762.tar.bz2
samba-8da3217d1b6b8b7a7b977c1722bc6ad39df49762.zip
smbpid is 32 bit, and update SMB2 locking per MS-SMB2
The UNLOCK bit is only used from the first lock structure (This used to be commit 9483b7c137b61d3029a1e1e7d8d8d0723b541129)
Diffstat (limited to 'source4/ntvfs/posix')
-rw-r--r--source4/ntvfs/posix/pvfs_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_lock.c b/source4/ntvfs/posix/pvfs_lock.c
index 822b28246a..0054455838 100644
--- a/source4/ntvfs/posix/pvfs_lock.c
+++ b/source4/ntvfs/posix/pvfs_lock.c
@@ -31,7 +31,7 @@
*/
NTSTATUS pvfs_check_lock(struct pvfs_state *pvfs,
struct pvfs_file *f,
- uint16_t smbpid,
+ uint32_t smbpid,
uint64_t offset, uint64_t count,
enum brl_type rw)
{