Skip to content

btrfs: some cleanups around inode update and helpers

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8btrfs: simplify error check condition at btrfs_dirty_inode()fs/btrfs/inode.c+1 -11 reply
2/8btrfs: remove noline from btrfs_update_inode()fs/btrfs/inode.c+3 -31 reply
3/8btrfs: remove redundant root argument from btrfs_update_inode_fallback()fs/btrfs/btrfs_inode.h fs/btrfs/inode.c fs/btrfs/transaction.c+8 -80 replies
4/8btrfs: remove redundant root argument from btrfs_update_inode()fs/btrfs/block-group.c fs/btrfs/btrfs_inode.h fs/btrfs/file.c +7 more+41 -441 reply
5/8btrfs: remove redundant root argument from btrfs_update_inode_item()fs/btrfs/inode.c+4 -51 reply
6/8btrfs: remove redundant root argument from btrfs_delayed_update_inode()fs/btrfs/delayed-inode.c fs/btrfs/delayed-inode.h fs/btrfs/inode.c+2 -31 reply
7/8btrfs: remove redundant root argument from maybe_insert_hole()fs/btrfs/inode.c+3 -41 reply
8/8btrfs: remove redundant root argument from fixup_inode_link_count()fs/btrfs/tree-log.c+9 -111 reply

Reviews trailers per patch

7 of 8 patches have a Reviewed-by or Acked-by.

PatchQu Wenruo
1/8R-b
2/8R-b
3/8
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

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 cleanups around inode update and helpers

From: Filipe Manana <[email protected]>

Some cleanups mostly around btrfs_update_inode(), its helpers and some callers, mostly to remove the redundant root argument, which can be taken from the given inode. More details in the changelogs.

Filipe Manana (8):
btrfs: simplify error check condition at btrfs_dirty_inode()
btrfs: remove noline from btrfs_update_inode()
btrfs: remove redundant root argument from btrfs_update_inode_fallback()
btrfs: remove redundant root argument from btrfs_update_inode()
btrfs: remove redundant root argument from btrfs_update_inode_item()
btrfs: remove redundant root argument from btrfs_delayed_update_inode()
btrfs: remove redundant root argument from maybe_insert_hole()
btrfs: remove redundant root argument from fixup_inode_link_count()

 fs/btrfs/block-group.c      |  3 +-
 fs/btrfs/btrfs_inode.h      |  4 +--
 fs/btrfs/delayed-inode.c    |  2 +-
 fs/btrfs/delayed-inode.h    |  1 -
 fs/btrfs/file.c             |  8 ++---
 fs/btrfs/free-space-cache.c | 13 ++++----
 fs/btrfs/inode.c            | 66 ++++++++++++++++++-------------------
 fs/btrfs/ioctl.c            |  2 +-
 fs/btrfs/reflink.c          |  3 +-
 fs/btrfs/transaction.c      |  2 +-
 fs/btrfs/tree-log.c         | 32 +++++++++---------
 fs/btrfs/verity.c           |  4 +--
 fs/btrfs/xattr.c            |  4 +--
 13 files changed, 68 insertions(+), 76 deletions(-)
Signature · 1 line
2.40.1