The branch, master has been updated via b25e3b6c8a7a1dd31607dd344e6e767716dd645d (commit) from e4fca7466d3bc064587638560572813e62df00d8 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit b25e3b6c8a7a1dd31607dd344e6e767716dd645d Author: Jeremy Allison <j...@samba.org> Date: Mon Jul 13 17:17:37 2009 -0700 Fix set_posix_lock check which had been reversed in the recent changes. Jeremy. ----------------------------------------------------------------------- Summary of changes: source3/smbd/trans2.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 4dd0375..a862c14 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, -- Samba Shared Repository