From dcad0f6fd492506efd9a69b4e32c7bbfa5da90e5 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 29 Sep 2004 13:17:09 +0000 Subject: r2751: this is a new ntvfs design which tries to solve: - the stacking of modules - finding the modules private data - hide the ntvfs details from the calling layer - I set NTVFS_INTERFACE_VERSION 0 till we are closer to release (because we need to solve some async problems with the module stacking) metze (This used to be commit 3ff03b5cb21bb79afdd3b1609be9635f6688a539) --- source4/smb_server/search.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/smb_server/search.c') diff --git a/source4/smb_server/search.c b/source4/smb_server/search.c index acd1b6d417..6a8653c749 100644 --- a/source4/smb_server/search.c +++ b/source4/smb_server/search.c @@ -174,7 +174,7 @@ void reply_search(struct smbsrv_request *req) sn->search_next.in.search_attrib = SVAL(req->in.vwv, VWV(1)); /* call backend */ - status = req->tcon->ntvfs_ops->search_next(req, sn, &state, find_callback); + status = ntvfs_search_next(req, sn, &state, find_callback); SSVAL(req->out.vwv, VWV(0), sn->search_next.out.count); } else { /* do a search first operation */ @@ -183,7 +183,7 @@ void reply_search(struct smbsrv_request *req) sf->search_first.in.max_count = SVAL(req->in.vwv, VWV(0)); /* call backend */ - status = req->tcon->ntvfs_ops->search_first(req, sf, &state, find_callback); + status = ntvfs_search_first(req, sf, &state, find_callback); SSVAL(req->out.vwv, VWV(0), sf->search_first.out.count); } @@ -272,7 +272,7 @@ void reply_fclose(struct smbsrv_request *req) req->async.private = sc; /* call backend */ - req->async.status = req->tcon->ntvfs_ops->search_close(req, sc); + req->async.status = ntvfs_search_close(req, sc); REQ_ASYNC_TAIL; } -- cgit