mbox series

[v3,0/2] clean up iget_path, read_locked_inode

Message ID cover.1724267937.git.loemra.dev@gmail.com (mailing list archive)
Headers show
Series clean up iget_path, read_locked_inode | expand

Message

Leo Martins Aug. 21, 2024, 9:31 p.m. UTC
The first patch moves the path allocation from
btrfs_read_locked_inode to btrfs_iget_path. It makes
more sense to handle a path allocation outside of 
read_locked_inode.

The second patch moves the clean up code from
btrfs_iget_path into btrfs_read_locked_inode 
simplifying btrfs_iget_path.

Leo Martins (2):
  btrfs: move path allocation to btrfs_iget_path
  btrfs: move cleanup code to read_locked_inode

 fs/btrfs/inode.c | 125 +++++++++++++++++++++++------------------------
 1 file changed, 62 insertions(+), 63 deletions(-)