svn commit: samba r3248 - in branches/SAMBA_4_0/source/ntvfs/posix:
.
tridge at samba.org
tridge at samba.org
Tue Oct 26 07:04:45 GMT 2004
Author: tridge
Date: 2004-10-26 07:04:45 +0000 (Tue, 26 Oct 2004)
New Revision: 3248
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/ntvfs/posix&rev=3248&nolog=1
Log:
don't stop searches on failed fill_search_info()
Modified:
branches/SAMBA_4_0/source/ntvfs/posix/pvfs_search.c
Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/posix/pvfs_search.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/posix/pvfs_search.c 2004-10-26 07:04:10 UTC (rev 3247)
+++ branches/SAMBA_4_0/source/ntvfs/posix/pvfs_search.c 2004-10-26 07:04:45 UTC (rev 3248)
@@ -208,17 +208,11 @@
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)) {
+ if (!NT_STATUS_IS_OK(status)) {
talloc_free(file);
continue;
}
- if (!NT_STATUS_IS_OK(status)) {
- talloc_free(file);
- search->current_index = i;
- return status;
- }
-
if (!callback(search_private, file)) {
talloc_free(file);
break;
More information about the samba-cvs
mailing list