diff options
author | Phillip Lougher <phillip@squashfs.org.uk> | 2014-03-30 23:55:46 +0100 |
---|---|---|
committer | Phillip Lougher <phillip@squashfs.org.uk> | 2014-03-30 23:55:46 +0100 |
commit | 353114369fd31d60f89104fde76eca576df7225a (patch) | |
tree | 426d0e95f3ae010afce816dae1f22d96ab1e9334 | |
parent | b2335b13779a84fafc82bf46d3596312241929e6 (diff) | |
download | squashfs-tools-353114369fd31d60f89104fde76eca576df7225a.tar.gz |
xattr: Rename dupl[] to dupl_value[]
Rename dupl[] to dupl_value[] to match dup_id[]
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
-rw-r--r-- | squashfs-tools/xattr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/squashfs-tools/xattr.c b/squashfs-tools/xattr.c index 3109b6e..b46550c 100644 --- a/squashfs-tools/xattr.c +++ b/squashfs-tools/xattr.c @@ -66,7 +66,7 @@ static int scache_bytes = 0; static int sxattr_ids = 0; /* xattr hash table for value duplicate detection */ -static struct xattr_list *dupl[65536]; +static struct xattr_list *dupl_value[65536]; /* xattr hash table for id duplicate detection */ static struct dupl_id *dupl_id[65536]; @@ -348,7 +348,7 @@ static void check_value_dupl(struct xattr_list *xattr) /* Check if this is a duplicate of an existing value */ xattr->vchecksum = get_checksum(xattr->value, xattr->vsize, 0); - for(entry = dupl[xattr->vchecksum]; entry; entry = entry->vnext) { + for(entry = dupl_value[xattr->vchecksum]; entry; entry = entry->vnext) { if(entry->vsize != xattr->vsize) continue; @@ -361,8 +361,8 @@ static void check_value_dupl(struct xattr_list *xattr) * No duplicate exists, add to hash table, and mark as * requiring writing */ - xattr->vnext = dupl[xattr->vchecksum]; - dupl[xattr->vchecksum] = xattr; + xattr->vnext = dupl_value[xattr->vchecksum]; + dupl_value[xattr->vchecksum] = xattr; xattr->ool_value = SQUASHFS_INVALID_BLK; } else { /* |