btrfs: return a btrfs_inode from btrfs_iget_logging()
[ Upstream commit a488d8ac ] All callers of btrfs_iget_logging() are interested in the btrfs_inode structure rather than the VFS inode, so make btrfs_iget_logging() return the btrfs_inode instead, avoiding lots of BTRFS_I() calls. Signed-off-by:Filipe Manana <fdmanana@suse.com> Reviewed-by:
David Sterba <dsterba@suse.com> Signed-off-by:
David Sterba <dsterba@suse.com> Stable-dep-of: 5f61b961 ("btrfs: fix inode lookup error handling during log replay") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment