]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: return a btrfs_inode from btrfs_iget_logging()
authorFilipe Manana <fdmanana@suse.com>
Thu, 6 Mar 2025 16:42:28 +0000 (16:42 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Mar 2025 19:35:50 +0000 (20:35 +0100)
commita488d8ac2c4d96ecc7da59bb35a573277204ac6b
tree90d15b7721e1b7dabb411a2aaeab4349ec1c2f6e
parent7ef3cbf17d2734ca66c4ed8573be45f4e461e7ee
btrfs: return a btrfs_inode from btrfs_iget_logging()

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>
fs/btrfs/tree-log.c