[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-3219-g34bd336

Jeremy Allison jra at samba.org
Mon Dec 1 22:28:38 GMT 2008


The branch, v3-2-test has been updated
       via  34bd33631ba561cc9fb8fccf533cc3ae21cb670e (commit)
      from  84e8fcd6703d57678c1ac7e5df67c03a626c0e6f (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 34bd33631ba561cc9fb8fccf533cc3ae21cb670e
Author: Stefan Metzmacher <metze at samba.org>
Date:   Mon Dec 1 14:28:13 2008 -0800

    s3:smbd: close the low level fd of the base_fsp, if the file was created
    
    metze

-----------------------------------------------------------------------

Summary of changes:
 source/smbd/open.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/smbd/open.c b/source/smbd/open.c
index c4b244f..dde273d 100644
--- a/source/smbd/open.c
+++ b/source/smbd/open.c
@@ -2751,6 +2751,8 @@ NTSTATUS create_file_unixpath(connection_struct *conn,
 				   "%s\n", base, nt_errstr(status)));
 			goto fail;
 		}
+		/* we don't need to low level fd */
+		fd_close(base_fsp);
 	}
 
 	/*


-- 
Samba Shared Repository


More information about the samba-cvs mailing list