btrfs: extent-tree: Use btrfs_ref to refactor btrfs_inc_extent_ref()
Use the new btrfs_ref structure and replace parameter list to clean up the usage of owner and level to distinguish the extent types. Signed-off-by:Qu Wenruo <wqu@suse.com> Reviewed-by:
David Sterba <dsterba@suse.com> Signed-off-by:
David Sterba <dsterba@suse.com>
Showing
- fs/btrfs/ctree.h 2 additions, 3 deletionsfs/btrfs/ctree.h
- fs/btrfs/extent-tree.c 32 additions, 25 deletionsfs/btrfs/extent-tree.c
- fs/btrfs/file.c 12 additions, 5 deletionsfs/btrfs/file.c
- fs/btrfs/inode.c 6 additions, 4 deletionsfs/btrfs/inode.c
- fs/btrfs/ioctl.c 9 additions, 6 deletionsfs/btrfs/ioctl.c
- fs/btrfs/relocation.c 27 additions, 15 deletionsfs/btrfs/relocation.c
- fs/btrfs/tree-log.c 8 additions, 3 deletionsfs/btrfs/tree-log.c
Loading
Please register or sign in to comment