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

Jeremy Allison jra at samba.org
Mon Dec 1 22:29:03 GMT 2008


The branch, v3-3-test has been updated
       via  2f8049ec62c6490c6f82fa417aea296667ad99d3 (commit)
      from  a3b5093cb57a6212c913a6653ef180ec567f2142 (commit)

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


- Log -----------------------------------------------------------------
commit 2f8049ec62c6490c6f82fa417aea296667ad99d3
Author: Stefan Metzmacher <metze at samba.org>
Date:   Mon Dec 1 14:28:41 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 dccfb84..632e02d 100644
--- a/source/smbd/open.c
+++ b/source/smbd/open.c
@@ -2849,6 +2849,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