On Mon, Dec 04, 2017 at 01:11:45PM -0500, jeffm@xxxxxxxx wrote: > From: Jeff Mahoney <jeffm@xxxxxxxx> > > If btrfs_del_root fails in btrfs_drop_snapshot, we'll pick up the > error but then return 0 anyway due to mixing err and ret. > > Fixes: 79787eaab4612 ("btrfs: replace many BUG_ONs with proper error handling") > Cc: <stable@xxxxxxxxxxxxxxx> # v3.4+ > Signed-off-by: Jeff Mahoney <jeffm@xxxxxxxx> Reviewed-by: David Sterba <dsterba@xxxxxxxx>