public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Const parameter updates
@ 2024-08-28 15:41 David Sterba
  2024-08-28 15:41 ` [PATCH 1/2] btrfs: rework BTRFS_I as macro to preserve parameter const David Sterba
  2024-08-28 15:41 ` [PATCH 2/2] btrfs: constify more pointer parameters David Sterba
  0 siblings, 2 replies; 6+ messages in thread
From: David Sterba @ 2024-08-28 15:41 UTC (permalink / raw)
  To: linux-btrfs; +Cc: David Sterba

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(-)

-- 
2.45.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-08-30 19:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-28 15:41 [PATCH 0/2] Const parameter updates David Sterba
2024-08-28 15:41 ` [PATCH 1/2] btrfs: rework BTRFS_I as macro to preserve parameter const David Sterba
2024-08-28 15:41 ` [PATCH 2/2] btrfs: constify more pointer parameters David Sterba
2024-08-30 15:47   ` kernel test robot
2024-08-30 19:04     ` David Sterba
2024-08-30 16:50   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox