From 8dbe2651d3c390250f6c959be4475b7ab3d22137 Mon Sep 17 00:00:00 2001
From: Jeremy Allison <jra@samba.org>
Date: Wed, 12 Jul 2006 19:23:45 +0000
Subject: r16992: Fix bug #3922 reported by jason@ncac.gwu.edu, correctly look
 at the return code. Jeremy. (This used to be commit
 f11933b3ac91c6fbacd6b410f4d2c0d400df23ee)

---
 source3/locking/posix.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'source3')

diff --git a/source3/locking/posix.c b/source3/locking/posix.c
index 475ab61a2f..9d5c42a1bc 100644
--- a/source3/locking/posix.c
+++ b/source3/locking/posix.c
@@ -1331,5 +1331,5 @@ BOOL release_posix_lock_posix_flavour(files_struct *fsp,
 	}
 
 	talloc_destroy(ul_ctx);
-	return True;
+	return ret;
 }
-- 
cgit