Skip to content

Commit

Permalink
btrfs: return a btrfs_inode from read_one_inode()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Filipe Manana authored and David Sterba committed Mar 18, 2025
1 parent a488d8a commit b4c50cb
Showing 1 changed file with 73 additions and 79 deletions.
Loading

0 comments on commit b4c50cb

Please sign in to comment.