[SCM] Samba Shared Repository - branch master updated - e605fdc81c64eeb37a9d77493df42c0bb010f41f

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


The branch, master has been updated
       via  e605fdc81c64eeb37a9d77493df42c0bb010f41f (commit)
      from  65169a43b321cd06d2f9474183ca8195c6182333 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


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

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

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

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


Changeset truncated at 500 lines:

diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 420a65b..f98415e 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -2852,6 +2852,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