diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-12-05 07:58:58 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:06:22 -0500 |
commit | 79bb84cea41d8a034283ced22a83614922882df0 (patch) | |
tree | 70697920cd42c02aa5d44080da6cd1fed0ad20d7 /source4/ntvfs | |
parent | 14c65343b052be4766fc27e17488f95fb201cb4f (diff) | |
download | samba-79bb84cea41d8a034283ced22a83614922882df0.tar.gz samba-79bb84cea41d8a034283ced22a83614922882df0.tar.bz2 samba-79bb84cea41d8a034283ced22a83614922882df0.zip |
r4067: no matches in findnext is not an error
(This used to be commit 6da058a28ba44a02964d375c9e390fbd472bc2b6)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r-- | source4/ntvfs/posix/pvfs_search.c | 5 |
1 files changed, 0 insertions, 5 deletions
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; |