1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Fix set_posix_lock check which had been reversed in the recent

changes.
Jeremy.
This commit is contained in:
Jeremy Allison 2009-07-13 17:17:37 -07:00
parent e4fca7466d
commit b25e3b6c8a

View File

@ -7277,7 +7277,7 @@ NTSTATUS smbd_do_setfilepathinfo(connection_struct *conn,
case SMB_SET_POSIX_LOCK:
{
if (fsp) {
if (!fsp) {
return NT_STATUS_INVALID_LEVEL;
}
status = smb_set_posix_lock(conn, req,