On Mon, Dec 04, 2017 at 01:11:45PM -0500, jeffm@suse.com wrote:
From: Jeff Mahoney jeffm@suse.com
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@vger.kernel.org # v3.4+ Signed-off-by: Jeff Mahoney jeffm@suse.com
Reviewed-by: David Sterba dsterba@suse.com