Re: [PATCH 03/36] btrfs: cleanup extent_op handling

2018-09-11 Thread Omar Sandoval
On Tue, Sep 11, 2018 at 01:57:34PM -0400, Josef Bacik wrote: > From: Josef Bacik > > 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 > cle

[PATCH 03/36] btrfs: cleanup extent_op handling

2018-09-11 Thread Josef Bacik
From: Josef Bacik 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