linux/fs/btrfs
Filipe Manana b4c50cbb01 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>
2025-03-18 20:35:50 +01:00
..
tests btrfs: merge alloc_dummy_extent_buffer() helpers 2025-03-18 20:35:47 +01:00
accessors.c
accessors.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
acl.c
acl.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
async-thread.c btrfs: async-thread: switch local variables need_order bool 2025-03-18 20:35:42 +01:00
async-thread.h
backref.c btrfs: unify ordering of btrfs_key initializations 2025-03-18 20:35:42 +01:00
backref.h btrfs: remove detached list from struct btrfs_backref_cache 2025-01-13 14:53:15 +01:00
bio.c btrfs: avoid unnecessary bio dereference at run_one_async_done() 2025-03-18 20:35:50 +01:00
bio.h
block-group.c btrfs: do trivial BTRFS_PATH_AUTO_FREE conversions 2025-03-18 20:35:47 +01:00
block-group.h
block-rsv.c btrfs: drop fs_info argument from btrfs_update_space_info_*() 2025-01-13 14:53:14 +01:00
block-rsv.h
btrfs_inode.h btrfs: defrag: extend ioctl to accept compression levels 2025-03-18 20:35:50 +01:00
compression.c btrfs: defrag: extend ioctl to accept compression levels 2025-03-18 20:35:50 +01:00
compression.h btrfs: defrag: extend ioctl to accept compression levels 2025-03-18 20:35:50 +01:00
ctree.c btrfs: do trivial BTRFS_PATH_AUTO_FREE conversions 2025-03-18 20:35:47 +01:00
ctree.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
defrag.c btrfs: defrag: extend ioctl to accept compression levels 2025-03-18 20:35:50 +01:00
defrag.h btrfs: pass struct btrfs_inode to btrfs_defrag_file() 2025-03-18 20:35:43 +01:00
delalloc-space.c btrfs: drop fs_info argument from btrfs_update_space_info_*() 2025-01-13 14:53:14 +01:00
delalloc-space.h
delayed-inode.c btrfs: do trivial BTRFS_PATH_AUTO_FREE conversions 2025-03-18 20:35:47 +01:00
delayed-inode.h btrfs: pass struct btrfs_inode to btrfs_fill_inode() 2025-03-18 20:35:43 +01:00
delayed-ref.c btrfs: update tree_insert() to use rb helpers 2025-01-13 14:53:18 +01:00
delayed-ref.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
dev-replace.c btrfs: return a literal instead of a variable in btrfs_init_dev_replace() 2025-03-18 20:35:49 +01:00
dev-replace.h
dir-item.c btrfs: use BTRFS_PATH_AUTO_FREE in btrfs_check_dir_item_collision() 2025-03-18 20:35:47 +01:00
dir-item.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
direct-io.c btrfs: pass struct btrfs_inode to can_nocow_extent() 2025-03-18 20:35:43 +01:00
direct-io.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
discard.c
discard.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
disk-io.c btrfs: run btrfs_error_commit_super() early 2025-03-18 20:35:50 +01:00
disk-io.h btrfs: remove stray comment about SRCU 2025-01-13 14:53:21 +01:00
export.c btrfs: use BTRFS_PATH_AUTO_FREE in btrfs_get_name() 2025-03-18 20:35:48 +01:00
export.h
extent-io-tree.c btrfs: add __cold attribute to extent_io_tree_panic() 2025-03-18 20:35:42 +01:00
extent-io-tree.h
extent-tree.c btrfs: use BTRFS_PATH_AUTO_FREE in run_delayed_extent_op() 2025-03-18 20:35:48 +01:00
extent-tree.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
extent_io.c btrfs: avoid linker error in btrfs_find_create_tree_block() 2025-03-18 20:35:50 +01:00
extent_io.h btrfs: add __pure attribute to eb page and folio counters 2025-03-18 20:35:47 +01:00
extent_map.c btrfs: do regular iput instead of delayed iput during extent map shrinking 2025-02-21 09:32:11 +01:00
extent_map.h btrfs: make the extent map shrinker run asynchronously as a work queue job 2024-11-11 14:34:17 +01:00
fiemap.c
fiemap.h
file-item.c btrfs: use BTRFS_PATH_AUTO_FREE in btrfs_lookup_bio_sums() 2025-03-18 20:35:48 +01:00
file-item.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
file.c btrfs: allow buffered write to avoid full page read if it's block aligned 2025-03-18 20:35:48 +01:00
file.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
free-space-cache.c btrfs: use BTRFS_PATH_AUTO_FREE in btrfs_remove_free_space_inode() 2025-03-18 20:35:48 +01:00
free-space-cache.h
free-space-tree.c btrfs: use BTRFS_PATH_AUTO_FREE in load_free_space_tree() 2025-03-18 20:35:48 +01:00
free-space-tree.h
fs.c btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
fs.h btrfs: defrag: extend ioctl to accept compression levels 2025-03-18 20:35:50 +01:00
inode-item.c btrfs: unify ordering of btrfs_key initializations 2025-03-18 20:35:42 +01:00
inode-item.h
inode.c btrfs: defrag: extend ioctl to accept compression levels 2025-03-18 20:35:50 +01:00
ioctl.c btrfs: unify inode variable naming 2025-03-18 20:35:49 +01:00
ioctl.h btrfs: pass struct btrfs_inode to btrfs_sync_inode_flags_to_i_flags() 2025-03-18 20:35:49 +01:00
Kconfig
locking.c btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
locking.h btrfs: add assertions and comment about path expectations to btrfs_cross_ref_exist() 2025-01-13 14:53:16 +01:00
lru_cache.c
lru_cache.h
lzo.c
Makefile btrfs: selftests: add delayed ref self test cases 2025-01-13 14:53:13 +01:00
messages.c
messages.h
misc.h
ordered-data.c btrfs: introduce a read path dedicated extent lock helper 2025-03-18 20:35:48 +01:00
ordered-data.h btrfs: introduce a read path dedicated extent lock helper 2025-03-18 20:35:48 +01:00
orphan.c
orphan.h
print-tree.c
print-tree.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
props.c btrfs: props: switch prop_handler::extract to struct btrfs_inode 2025-03-18 20:35:44 +01:00
props.h btrfs: pass struct btrfs_inode to btrfs_inode_inherit_props() 2025-03-18 20:35:44 +01:00
qgroup.c btrfs: unify ordering of btrfs_key initializations 2025-03-18 20:35:42 +01:00
qgroup.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
raid-stripe-tree.c btrfs: don't use btrfs_set_item_key_safe on RAID stripe-extents 2025-01-14 15:52:22 +01:00
raid-stripe-tree.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
raid56.c
raid56.h
rcu-string.h
ref-verify.c btrfs: ref-verify: fix use-after-free after invalid ref action 2024-11-29 16:52:29 +01:00
ref-verify.h
reflink.c btrfs: use struct btrfs_inode inside btrfs_remap_file_range_prep() 2025-03-18 20:35:44 +01:00
reflink.h
relocation.c btrfs: open code set_page_extent_mapped() 2025-01-13 14:53:22 +01:00
relocation.h
root-tree.c btrfs: root-tree: remove unnecessary calls to btrfs_mark_buffer_dirty() 2025-01-13 14:53:20 +01:00
root-tree.h
scrub.c btrfs: unify ordering of btrfs_key initializations 2025-03-18 20:35:42 +01:00
scrub.h
send.c btrfs: send: simplify return logic from send_encoded_extent() 2025-03-18 20:35:50 +01:00
send.h btrfs: pass btrfs_root pointers to send ioctl parameters 2025-03-18 20:35:49 +01:00
space-info.c btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
space-info.h btrfs: zoned: reclaim unused zone by zone resetting 2025-01-13 14:53:14 +01:00
subpage.c btrfs: simplify parameters of metadata folio helpers 2025-03-18 20:35:47 +01:00
subpage.h btrfs: allow debug builds to accept 2K block size 2025-03-18 20:35:49 +01:00
super.c btrfs: zstd: enable negative compression levels mount option 2025-03-18 20:35:41 +01:00
super.h
sysfs.c btrfs: allow debug builds to accept 2K block size 2025-03-18 20:35:49 +01:00
sysfs.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
transaction.c btrfs: use struct btrfs_inode inside create_pending_snapshot() 2025-03-18 20:35:43 +01:00
transaction.h btrfs: move abort_should_print_stack() to transaction.h 2025-01-13 14:53:17 +01:00
tree-checker.c btrfs: validate system chunk array at btrfs_validate_super() 2025-01-13 14:53:18 +01:00
tree-checker.h btrfs: validate system chunk array at btrfs_validate_super() 2025-01-13 14:53:18 +01:00
tree-log.c btrfs: return a btrfs_inode from read_one_inode() 2025-03-18 20:35:50 +01:00
tree-log.h
tree-mod-log.c
tree-mod-log.h
ulist.c
ulist.h
uuid-tree.c btrfs: uuid-tree: remove unnecessary call to btrfs_mark_buffer_dirty() 2025-01-13 14:53:20 +01:00
uuid-tree.h
verity.c btrfs: pass struct btrfs_inode to btrfs_sync_inode_flags_to_i_flags() 2025-03-18 20:35:49 +01:00
verity.h
volumes.c btrfs: unify ordering of btrfs_key initializations 2025-03-18 20:35:42 +01:00
volumes.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
xattr.c btrfs: xattr: remove unnecessary call to btrfs_mark_buffer_dirty() 2025-01-13 14:53:20 +01:00
xattr.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
zlib.c btrfs: zstd: enable negative compression levels mount option 2025-03-18 20:35:41 +01:00
zoned.c btrfs: zoned: exit btrfs_can_activate_zone if BTRFS_FS_NEED_ZONE_FINISH is set 2025-03-18 20:35:42 +01:00
zoned.h btrfs: zoned: reclaim unused zone by zone resetting 2025-01-13 14:53:14 +01:00
zstd.c btrfs: zstd: remove local variable for storing page offsets 2025-03-18 20:35:42 +01:00