From: David Sterba <dsterba@suse.com>
To: linux-btrfs@vger.kernel.org
Cc: David Sterba <dsterba@suse.com>
Subject: [PATCH 0/2] Const parameter updates
Date: Wed, 28 Aug 2024 17:41:15 +0200 [thread overview]
Message-ID: <cover.1724859619.git.dsterba@suse.com> (raw)
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
next reply other threads:[~2024-08-28 15:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-28 15:41 David Sterba [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1724859619.git.dsterba@suse.com \
--to=dsterba@suse.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox