]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: don't use token set/get accessors in inode.c:fill_inode_item()
authorDavid Sterba <dsterba@suse.com>
Fri, 27 Jun 2025 14:03:51 +0000 (16:03 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Jul 2025 22:04:59 +0000 (00:04 +0200)
commite3df5141a4c1b85e1f6dc117f48fb634eb275f6c
tree95c5b4013a88e44ca003a88b2dc03dc792714a0d
parent114b806a733ffbd3906fca3493d47529dbc8210b
btrfs: don't use token set/get accessors in inode.c:fill_inode_item()

The token versions of set/get accessors will be removed, use the normal
helpers.

There's additional overhead of the token helpers that update the cached
address in case it moves to another page/folio. The normal versions
don't need to do that.

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