From 0873318cbbedceaca53596802876e26f42b2141e Mon Sep 17 00:00:00 2001 From: aia21 Date: Thu, 27 Jul 2006 08:38:17 +0000 Subject: [PATCH] Yura uses ntfs_attr_lookup() in a way it never was anticipated to work so my fix broke his way of working. This is a middle ground where both should work. This still leaves a bug in collation of attribute list entries though which needs to be investigated and fixed... --- libntfs/attrib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libntfs/attrib.c b/libntfs/attrib.c index 36b09eb7..f1860e85 100644 --- a/libntfs/attrib.c +++ b/libntfs/attrib.c @@ -1,7 +1,7 @@ /** * attrib.c - Attribute handling code. Part of the Linux-NTFS project. * - * Copyright (c) 2000-2005 Anton Altaparmakov + * Copyright (c) 2000-2006 Anton Altaparmakov * Copyright (c) 2002-2005 Richard Russon * Copyright (c) 2004-2006 Yura Pakhuchiy * @@ -2062,7 +2062,7 @@ do_next_attr_loop: le32_to_cpu(ctx->mrec->bytes_allocated)) break; if (a->type == AT_END) - break; + continue; if (!a->length) break; if (al_entry->instance != a->instance)