diff options
author | Jeremy Allison <jra@samba.org> | 2009-07-13 17:17:37 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-07-13 17:17:37 -0700 |
commit | b25e3b6c8a7a1dd31607dd344e6e767716dd645d (patch) | |
tree | 32e1b1fe5f89e55fd8814ccb7e6c5cb848123d8e | |
parent | e4fca7466d3bc064587638560572813e62df00d8 (diff) | |
download | samba-b25e3b6c8a7a1dd31607dd344e6e767716dd645d.tar.gz samba-b25e3b6c8a7a1dd31607dd344e6e767716dd645d.tar.bz2 samba-b25e3b6c8a7a1dd31607dd344e6e767716dd645d.zip |
Fix set_posix_lock check which had been reversed in the recent
changes.
Jeremy.
-rw-r--r-- | source3/smbd/trans2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 4dd0375067..a862c1466f 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -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, |