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...
edge.strict_endians
aia21 2006-07-27 08:38:17 +00:00
parent f3117bf03a
commit 0873318cbb
1 changed files with 2 additions and 2 deletions

View File

@ -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)