diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-11-24 15:59:54 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-11-24 16:05:01 +0100 |
commit | c8d234ddcf42f4a2d3e30122877d792fabd92f68 (patch) | |
tree | 630ecf78f2f22aa1e2bbc6631d5179eab8e52c2e /lib/sqfs/xattr_writer.c | |
parent | 58c012f6fa5bbda88a849b7ecf93519400ee0a43 (diff) |
Cleanup: remove the entirely redundant sqfs_has_xattr function
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/xattr_writer.c')
-rw-r--r-- | lib/sqfs/xattr_writer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqfs/xattr_writer.c b/lib/sqfs/xattr_writer.c index 18ca657..81ee26c 100644 --- a/lib/sqfs/xattr_writer.c +++ b/lib/sqfs/xattr_writer.c @@ -169,7 +169,7 @@ int sqfs_xattr_writer_add(sqfs_xattr_writer_t *xwr, const char *key, char *value_str; int err; - if (!sqfs_has_xattr(key)) + if (sqfs_get_xattr_prefix_id(key) < 0) return SQFS_ERROR_UNSUPPORTED; /* resolve key and value into unique, incremental IDs */ |