git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65169a4
)
s3:smbd: close the low level fd of the base_fsp, if the file was created
author
Stefan Metzmacher
<metze@samba.org>
Mon, 1 Dec 2008 22:28:27 +0000
(14:28 -0800)
committer
Jeremy Allison
<jra@samba.org>
Mon, 1 Dec 2008 22:28:27 +0000
(14:28 -0800)
metze
source3/smbd/open.c
patch
|
blob
|
history
diff --git
a/source3/smbd/open.c
b/source3/smbd/open.c
index 420a65b562d12178f724bdb58d434cf31d7d5059..f98415ee33f350c8831a3e3f0e84009b2f14c2d2 100644
(file)
--- 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);
}
/*