mbox series

[0/2] Const parameter updates

Message ID cover.1724859619.git.dsterba@suse.com (mailing list archive)
Headers show
Series Const parameter updates | expand

Message

David Sterba Aug. 28, 2024, 3:41 p.m. UTC
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(-)