Skip to content

btrfs: some trivial cleanups

[email protected] linux-btrfs llvm oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8btrfs: return a btrfs_inode from btrfs_iget_logging()fs/btrfs/tree-log.c+45 -490 replies
2/8btrfs: return a btrfs_inode from read_one_inode()fs/btrfs/tree-log.c+73 -790 replies
3/8btrfs: pass a btrfs_inode to fixup_inode_link_count()fs/btrfs/tree-log.c+13 -130 replies
4/8btrfs: make btrfs_iget() return a btrfs inode insteadfs/btrfs/btrfs_inode.h fs/btrfs/defrag.c fs/btrfs/export.c +6 more+78 -713 replies
5/8btrfs: make btrfs_iget_path() return a btrfs inode insteadfs/btrfs/btrfs_inode.h fs/btrfs/free-space-cache.c fs/btrfs/inode.c+11 -110 replies
6/8btrfs: remove unnecessary fs_info argument from create_reloc_inode()fs/btrfs/relocation.c+2 -20 replies
7/8btrfs: remove unnecessary fs_info argument from delete_block_group_cache()fs/btrfs/relocation.c+4 -50 replies
8/8btrfs: remove unnecessary fs_info argument from btrfs_add_block_group_cache()fs/btrfs/block-group.c+8 -80 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDavid Sterba
SeriesR-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] btrfs: some trivial cleanups

From: Filipe Manana <[email protected]>

A group of trivial cleanups that started with making log tree code less verbose while fixing a couple bugs, by removing repeated BTRFS_I() calls, and then extended to btrfs_iget() and removing redundant arguments from a few functions. Details in the change logs.

Filipe Manana (8):
btrfs: return a btrfs_inode from btrfs_iget_logging()
btrfs: return a btrfs_inode from read_one_inode()
btrfs: pass a btrfs_inode to fixup_inode_link_count()
btrfs: make btrfs_iget() return a btrfs inode instead
btrfs: make btrfs_iget_path() return a btrfs inode instead
btrfs: remove unnecessary fs_info argument from create_reloc_inode()
btrfs: remove unnecessary fs_info argument from delete_block_group_cache()
btrfs: remove unnecessary fs_info argument from btrfs_add_block_group_cache()

 fs/btrfs/block-group.c      |  16 +--
 fs/btrfs/btrfs_inode.h      |   6 +-
 fs/btrfs/defrag.c           |  14 +-
 fs/btrfs/export.c           |  17 ++-
 fs/btrfs/free-space-cache.c |  10 +-
 fs/btrfs/inode.c            |  64 ++++-----
 fs/btrfs/ioctl.c            |   7 +-
 fs/btrfs/relocation.c       |  30 +++--
 fs/btrfs/send.c             |  25 ++--
 fs/btrfs/super.c            |   4 +-
 fs/btrfs/tree-log.c         | 261 +++++++++++++++++-------------------
 11 files changed, 225 insertions(+), 229 deletions(-)
Signature · 1 line
2.45.2