summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/pvfs_search.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-26 07:04:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:04:46 -0500
commit7a11723cfcb05a308568e3e286f63842c0b93942 (patch)
tree47e1c7b08c40b9616c7a1ba2e51c3015220023c8 /source4/ntvfs/posix/pvfs_search.c
parent220c289ecf01bb6a0915cd2427bb8408ea4a299e (diff)
downloadsamba-7a11723cfcb05a308568e3e286f63842c0b93942.tar.gz
samba-7a11723cfcb05a308568e3e286f63842c0b93942.tar.bz2
samba-7a11723cfcb05a308568e3e286f63842c0b93942.zip
r3248: don't stop searches on failed fill_search_info()
(This used to be commit 4cdd750b5cc9b26dbbaebe58b4f1c3984dac8d6c)
Diffstat (limited to 'source4/ntvfs/posix/pvfs_search.c')
-rw-r--r--source4/ntvfs/posix/pvfs_search.c8
1 files changed, 1 insertions, 7 deletions
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)) {