git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7358fb6
)
r2591: fixed two errors in simple backend found with valgrind
author
Andrew Tridgell
<tridge@samba.org>
Fri, 24 Sep 2004 07:28:16 +0000
(07:28 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:59:10 +0000
(12:59 -0500)
(This used to be commit
1730882b9d2ecff1b65e5fc85961edb300a9ce17
)
source4/ntvfs/simple/vfs_simple.c
patch
|
blob
|
history
diff --git
a/source4/ntvfs/simple/vfs_simple.c
b/source4/ntvfs/simple/vfs_simple.c
index 5bdec64f2bbdcbcb5f0410230fbdbe6aa2f1bac5..5b2fe9df56fe45f001b02f5a775977277dcb77f6 100644
(file)
--- a/
source4/ntvfs/simple/vfs_simple.c
+++ b/
source4/ntvfs/simple/vfs_simple.c
@@
-72,6
+72,8
@@
static NTSTATUS svfs_connect(struct smbsrv_request *req, const char *sharename,
private->next_search_handle = 0;
private->connectpath = talloc_strdup(tcon, lp_pathname(tcon->service));
private->open_files = NULL;
+ private->ops = ntvfs_backend_byname("simple", NTVFS_DISK);
+ private->search = NULL;
/* the directory must exist */
if (stat(private->connectpath, &st) != 0 || !S_ISDIR(st.st_mode)) {