From 7a11723cfcb05a308568e3e286f63842c0b93942 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 26 Oct 2004 07:04:45 +0000 Subject: r3248: don't stop searches on failed fill_search_info() (This used to be commit 4cdd750b5cc9b26dbbaebe58b4f1c3984dac8d6c) --- source4/ntvfs/posix/pvfs_search.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'source4') diff --git a/source4/ntvfs/posix/pvfs_search.c b/source4/ntvfs/posix/pvfs_search.c index 61e4651c5f..9decf0f6ae 100644 --- a/source4/ntvfs/posix/pvfs_search.c +++ b/source4/ntvfs/posix/pvfs_search.c @@ -208,15 +208,9 @@ static NTSTATUS pvfs_search_fill(struct pvfs_state *pvfs, TALLOC_CTX *mem_ctx, status = fill_search_info(pvfs, level, dir->unix_path, dir->names[i], search, i, file); - if (NT_STATUS_EQUAL(status, NT_STATUS_OBJECT_NAME_NOT_FOUND)) { - talloc_free(file); - continue; - } - if (!NT_STATUS_IS_OK(status)) { talloc_free(file); - search->current_index = i; - return status; + continue; } if (!callback(search_private, file)) { -- cgit