]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfsprogs: metadump: ensure dup table always has entry for obfuscated name
authorAlex Elder <aelder@sgi.com>
Fri, 18 Feb 2011 21:21:01 +0000 (21:21 +0000)
committerAlex Elder <aelder@sgi.com>
Tue, 8 Mar 2011 18:04:26 +0000 (12:04 -0600)
commitc2e10856e0b5142e9b6d587af221c4d679830232
tree406bee0dd190f3f989ca56134ae641e4b7bad065
parent9830e672cf8f8c74aa5d4a975d9f1cde0fb98657
xfsprogs: metadump: ensure dup table always has entry for obfuscated name

We need to ensure the nametable has a copy of all the names in a
directory (or attribute fork) in order to avoid creating duplicate
entries when obfuscating names.  Currently there is an (unlikely)
case where the name is passed back without such an entry being
created.  Reorder things so that won't happen.

Signed-off-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
db/metadump.c