On Fri, Jan 17, 2020 at 09:12:45AM -0500, Josef Bacik wrote: > If we fsync on a subvolume and create a log root for that volume, and > then later delete that subvolume we'll never clean up its log root. Fix > this by making switch_commit_roots free the log for any dropped roots we > encounter. The extra churn is because we need a btrfs_trans_handle, not > the btrfs_transaction. > > Signed-off-by: Josef Bacik <josef@xxxxxxxxxxxxxx> > --- > v1->v2: > - Update commit message to indicate we need the trans_handle instead of the > transaciton. Thanks, added to misc-next.
