Rev 666: match samba 3.2 in http://samba.org/~tridge/3_0-ctdb

tridge at samba.org tridge at samba.org
Tue Nov 13 09:44:13 GMT 2007


------------------------------------------------------------
revno: 666
revision-id:tridge at samba.org-20071113094412-rfdqppqjxfmkzjlr
parent: tridge at samba.org-20071113094002-dxu4kevdi4g91miu
committer: Andrew Tridgell <tridge at samba.org>
branch nick: s3-ctdb-tridge
timestamp: Tue 2007-11-13 20:44:12 +1100
message:
  match samba 3.2
modified:
  source/locking/posix.c         posix.c-20070210173807-1wjifrbwaz6xnmgl-637
=== modified file 'source/locking/posix.c'
--- a/source/locking/posix.c	2007-11-13 09:40:02 +0000
+++ b/source/locking/posix.c	2007-11-13 09:44:12 +0000
@@ -641,7 +641,7 @@
 		 */
 		ret = SMB_VFS_CLOSE(fsp,fsp->fh->fd);
 		fsp->fh->fd = -1;
-		if (ret != 0) {
+		if (ret == -1) {
 			return map_nt_error_from_unix(errno);
 		}
 		return NT_STATUS_OK;



More information about the samba-cvs mailing list