]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: use struct btrfs_inode inside create_pending_snapshot()
authorDavid Sterba <dsterba@suse.com>
Mon, 17 Feb 2025 23:53:09 +0000 (00:53 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Mar 2025 19:35:43 +0000 (20:35 +0100)
commitcb9a1f5ffa367c57904cbed2e5c6e848c65100a1
treef3ccec8091092e900f14d67ebcbf9cbb9bf9d1ed
parentfc11fd0cb80ba1b2359794bc92d0e5d5bd7c482d
btrfs: use struct btrfs_inode inside create_pending_snapshot()

Use a struct btrfs_inode in create_pending_snapshot() as it's an
internal helper, allowing to remove some use of BTRFS_I.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/transaction.c