summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-07-13 17:17:37 -0700
committerJeremy Allison <jra@samba.org>2009-07-13 17:17:37 -0700
commitb25e3b6c8a7a1dd31607dd344e6e767716dd645d (patch)
tree32e1b1fe5f89e55fd8814ccb7e6c5cb848123d8e /source3
parente4fca7466d3bc064587638560572813e62df00d8 (diff)
downloadsamba-b25e3b6c8a7a1dd31607dd344e6e767716dd645d.tar.gz
samba-b25e3b6c8a7a1dd31607dd344e6e767716dd645d.tar.bz2
samba-b25e3b6c8a7a1dd31607dd344e6e767716dd645d.zip
Fix set_posix_lock check which had been reversed in the recent
changes. Jeremy.
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/trans2.c2
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,