diff options
author | Anton Altaparmakov <aia21@cantab.net> | 2006-03-23 16:03:11 +0100 |
---|---|---|
committer | Anton Altaparmakov <aia21@cantab.net> | 2006-03-23 16:03:11 +0100 |
commit | 3ccc7384db3d762e834dfdae13c1d6434b2fdeab (patch) | |
tree | 2bddfd2b0c5e1f2098c95d0c6bd611e33971591d /fs/ntfs/attrib.c | |
parent | NTFS: Fix an (innocent) off-by-one error in the runlist code. (diff) | |
download | linux-3ccc7384db3d762e834dfdae13c1d6434b2fdeab.tar.xz linux-3ccc7384db3d762e834dfdae13c1d6434b2fdeab.zip |
NTFS: Fix a buggette in an "should be impossible" case handling where we
continued the attribute lookup loop instead of aborting it.
Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
Diffstat (limited to 'fs/ntfs/attrib.c')
-rw-r--r-- | fs/ntfs/attrib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ntfs/attrib.c b/fs/ntfs/attrib.c index 9480a0526cd3..a92b9e9db91d 100644 --- a/fs/ntfs/attrib.c +++ b/fs/ntfs/attrib.c @@ -1,7 +1,7 @@ /** * attrib.c - NTFS attribute operations. Part of the Linux-NTFS project. * - * Copyright (c) 2001-2005 Anton Altaparmakov + * Copyright (c) 2001-2006 Anton Altaparmakov * Copyright (c) 2002 Richard Russon * * This program/include file is free software; you can redistribute it and/or @@ -1048,7 +1048,7 @@ do_next_attr_loop: le32_to_cpu(ctx->mrec->bytes_allocated)) break; if (a->type == AT_END) - continue; + break; if (!a->length) break; if (al_entry->instance != a->instance) |