From 79bb84cea41d8a034283ced22a83614922882df0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 5 Dec 2004 07:58:58 +0000 Subject: r4067: no matches in findnext is not an error (This used to be commit 6da058a28ba44a02964d375c9e390fbd472bc2b6) --- source4/ntvfs/posix/pvfs_search.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source4/ntvfs') diff --git a/source4/ntvfs/posix/pvfs_search.c b/source4/ntvfs/posix/pvfs_search.c index f805f201f6..4ee81503c0 100644 --- a/source4/ntvfs/posix/pvfs_search.c +++ b/source4/ntvfs/posix/pvfs_search.c @@ -552,11 +552,6 @@ NTSTATUS pvfs_search_next(struct ntvfs_module_context *ntvfs, return status; } - /* not matching any entries is an error */ - if (reply_count == 0) { - return NT_STATUS_NO_MORE_ENTRIES; - } - io->t2fnext.out.count = reply_count; io->t2fnext.out.end_of_search = pvfs_list_eos(dir, search->current_index) ? 1 : 0; -- cgit