Skip to content

Const parameter updates

David Sterba linux-btrfs llvm oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: rework BTRFS_I as macro to preserve parameter constfs/btrfs/btrfs_inode.h+6 -40 replies
2/2btrfs: constify more pointer parametersfs/btrfs/backref.c fs/btrfs/block-group.c fs/btrfs/block-group.h +16 more+83 -851 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Const parameter updates

Use _Generic for BTRFS_I macro and some const parameter updates.

David Sterba (2):
btrfs: rework BTRFS_I as macro to preserve parameter const
btrfs: constify more pointer parameters

 fs/btrfs/backref.c           |  6 +++---
 fs/btrfs/block-group.c       | 34 +++++++++++++++++-----------------
 fs/btrfs/block-group.h       | 11 +++++------
 fs/btrfs/block-rsv.c         |  2 +-
 fs/btrfs/block-rsv.h         |  2 +-
 fs/btrfs/btrfs_inode.h       | 10 ++++++----
 fs/btrfs/ctree.c             | 18 +++++++++---------
 fs/btrfs/ctree.h             |  6 +++---
 fs/btrfs/discard.c           |  4 ++--
 fs/btrfs/file-item.c         |  4 ++--
 fs/btrfs/file-item.h         |  2 +-
 fs/btrfs/inode-item.c        | 10 +++++-----
 fs/btrfs/inode-item.h        |  4 ++--
 fs/btrfs/space-info.c        | 25 ++++++++++++-------------
 fs/btrfs/space-info.h        | 10 +++++-----
 fs/btrfs/tree-mod-log.c      | 14 +++++++-------
 fs/btrfs/tree-mod-log.h      |  6 +++---
 fs/btrfs/zoned.c             |  2 +-
 fs/btrfs/zoned.h             |  2 +-
 include/trace/events/btrfs.h |  6 +++---
 20 files changed, 89 insertions(+), 89 deletions(-)
Signature · 1 line
2.45.0