On Wed, Apr 15, 2020 at 07:33:26AM -0400, Sasha Levin wrote:
From: Josef Bacik josef@toxicpanda.com
[ Upstream commit 4cdfd93002cb84471ed85b4999cd38077a317873 ]
We want to use this for dropping all roots, and in some error cases we may not have a root, so handle this to make the cleanup code easier. Make btrfs_grab_fs_root the same so we can use it in cases where the root may not exist (like the quota root).
This is another patch from the preparatory series, not needed for stable. Please drop it, thanks.