btrfs: return a btrfs_inode from read_one_inode()
authorFilipe Manana <fdmanana@suse.com>
Thu, 6 Mar 2025 17:11:00 +0000 (17:11 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Mar 2025 19:35:50 +0000 (20:35 +0100)
commitb4c50cbb01a1b6901d2b94469636dd80fa93de81
treed6f2f5f1786e11d48ed2c1f11493ed6b2c009501
parenta488d8ac2c4d96ecc7da59bb35a573277204ac6b
btrfs: return a btrfs_inode from read_one_inode()

All callers of read_one_inode() are mostly interested in the btrfs_inode
structure rather than the VFS inode, so make read_one_inode() 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>
fs/btrfs/tree-log.c