btrfs: tree-log: don't use token set/get accessors in fill_inode_item()
authorDavid Sterba <dsterba@suse.com>
Fri, 27 Jun 2025 14:03:52 +0000 (16:03 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Jul 2025 22:05:00 +0000 (00:05 +0200)
commitc418a1504540c6678279b965ea73fe61621faa65
tree69e198472a62aa5e4c50d0a3118d44b45cc49e36
parente3df5141a4c1b85e1f6dc117f48fb634eb275f6c
btrfs: tree-log: don't use token set/get accessors in 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.

Note this is similar to fill_inode_item() in inode.c but with slight
differences. The two functions could be deduplicated eventually.

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