Re: [PATCH 03/35] btrfs: use cleanup_extent_op in check_ref_cleanup

2018-09-07 Thread David Sterba
On Fri, Aug 31, 2018 at 04:00:29PM -0700, Omar Sandoval wrote: > On Thu, Aug 30, 2018 at 01:41:53PM -0400, Josef Bacik wrote: > > From: Josef Bacik > > > > Unify the extent_op handling as well, just add a flag so we don't > > actually run the extent op from check_ref_cleanup and instead return a

Re: [PATCH 03/35] btrfs: use cleanup_extent_op in check_ref_cleanup

2018-08-31 Thread Omar Sandoval
On Thu, Aug 30, 2018 at 01:41:53PM -0400, Josef Bacik wrote: > From: Josef Bacik > > Unify the extent_op handling as well, just add a flag so we don't > actually run the extent op from check_ref_cleanup and instead return a > value so that we can skip cleaning up the ref head. > > Signed-off-by:

[PATCH 03/35] btrfs: use cleanup_extent_op in check_ref_cleanup

2018-08-30 Thread Josef Bacik
From: Josef Bacik Unify the extent_op handling as well, just add a flag so we don't actually run the extent op from check_ref_cleanup and instead return a value so that we can skip cleaning up the ref head. Signed-off-by: Josef Bacik --- fs/btrfs/extent-tree.c | 17 + 1 file ch