diff options
Diffstat (limited to 'source4/ntvfs/posix/pvfs_search.c')
-rw-r--r-- | source4/ntvfs/posix/pvfs_search.c | 8 |
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)) { |