Re: [PATCH 44/44] btrfs: rename btrfs_put_fs_root and btrfs_grab_fs_root

David Sterba
2020-02-05T15:44:35Z

On Fri, Jan 24, 2020 at 09:33:01AM -0500, Josef Bacik wrote:
> We are now using these for all roots, rename them to btrfs_put_root()
> and btrfs_grab_root();

Regarding the naming, the usual pattern is get/put, while grab does not
necessarily have to pair with anything and is for special cases (like
igrab). btrfs_get_root is free so we can use it.