git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10d8d7d
)
smbd: Convert make_connection_snum to synthetic_smb_fname
author
Volker Lendecke
<vl@samba.org>
Mon, 15 Apr 2013 09:10:28 +0000
(11:10 +0200)
committer
Jeremy Allison
<jra@samba.org>
Wed, 17 Apr 2013 21:50:01 +0000
(14:50 -0700)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/service.c
patch
|
blob
|
history
diff --git
a/source3/smbd/service.c
b/source3/smbd/service.c
index 4fe3809ea7b854ee0013ccbb6b8c8070952ddafc..4c0832a8a0d93279a65b8172a3bc986d53998fee 100644
(file)
--- a/
source3/smbd/service.c
+++ b/
source3/smbd/service.c
@@
-798,9
+798,10
@@
static NTSTATUS make_connection_snum(struct smbd_server_connection *sconn,
set_namearray( &conn->aio_write_behind_list,
lp_aio_write_behind(talloc_tos(), snum));
}
- status = create_synthetic_smb_fname(talloc_tos(), conn->connectpath,
- NULL, NULL, &smb_fname_cpath);
- if (!NT_STATUS_IS_OK(status)) {
+ smb_fname_cpath = synthetic_smb_fname(talloc_tos(), conn->connectpath,
+ NULL, NULL);
+ if (smb_fname_cpath == NULL) {
+ status = NT_STATUS_NO_MEMORY;
goto err_root_exit;
}