mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
r22094: Clarify that SMB_VFS_LOCK should not be used to get lock status.
(This used to be commit 395fd99edba8a75eab5d13c9fac5616bcd6ecf2c)
This commit is contained in:
parent
14ac7712f3
commit
74cfa0fdce
@ -781,6 +781,9 @@ static BOOL vfswrap_lock(vfs_handle_struct *handle, files_struct *fsp, int fd, i
|
||||
{
|
||||
BOOL result;
|
||||
|
||||
/* SMB_VFS_GETLOCK should be used to query lock status. */
|
||||
SMB_ASSERT(op != SMB_F_GETLK);
|
||||
|
||||
START_PROFILE(syscall_fcntl_lock);
|
||||
result = fcntl_lock(fd, op, offset, count, type);
|
||||
END_PROFILE(syscall_fcntl_lock);
|
||||
|
Loading…
x
Reference in New Issue
Block a user