r16992: Fix bug #3922 reported by jason@ncac.gwu.edu, correctly
authorJeremy Allison <jra@samba.org>
Wed, 12 Jul 2006 19:23:45 +0000 (19:23 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:19:17 +0000 (11:19 -0500)
look at the return code.
Jeremy.
(This used to be commit f11933b3ac91c6fbacd6b410f4d2c0d400df23ee)

source3/locking/posix.c

index 475ab61a2f0b78667544f95e56169a994dc017ac..9d5c42a1bcde52687234cf3189f7c298ad21aee4 100644 (file)
@@ -1331,5 +1331,5 @@ BOOL release_posix_lock_posix_flavour(files_struct *fsp,
        }
 
        talloc_destroy(ul_ctx);
-       return True;
+       return ret;
 }