commit | c22fcde775dcc9f46d73d694061441efdc7bdaad | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Mon Nov 12 09:54:49 2018 -0500 |
committer | Paul Moore <paul@paul-moore.com> | Mon Nov 12 09:54:49 2018 -0500 |
tree | b95b570ed053de37ac4e0aaa353749e317a8bea7 | |
parent | 49a4ee7d98dbe34cfed90b930664c8a9fa73b24c [diff] |
audit: Drop all unused chunk nodes during deletion When deleting chunk from a tree, drop all unused nodes in a chunk instead of just the one used by the tree. This gets rid of possibly lingering unused nodes (created due to fallback path in untag_chunk()) and also removes some special cases and will allow us to simplify locking in untag_chunk(). Signed-off-by: Jan Kara <jack@suse.cz> Reviewed-by: Richard Guy Briggs <rgb@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>