commit | bedc661760a9837d592070669b296ab58e8f40c9 | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fb.com> | Mon Dec 03 10:20:31 2018 -0500 |
committer | David Sterba <dsterba@suse.com> | Mon Dec 17 14:51:46 2018 +0100 |
tree | ee10171a2963c617f9359dbedc9475cef353f4b1 | |
parent | 07c47775f410168c259494ecb8f62cee0a84ec81 [diff] |
btrfs: cleanup extent_op handling The cleanup_extent_op function actually would run the extent_op if it needed running, which made the name sort of a misnomer. Change it to run_and_cleanup_extent_op, and move the actual cleanup work to cleanup_extent_op so it can be used by check_ref_cleanup() in order to unify the extent op handling. Reviewed-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: David Sterba <dsterba@suse.com>