From: Carlos Maiolino <cem@kernel.org>
To: linux-kernel@vger.kernel.org, Bill Wendling <morbo@google.com>
Cc: "Darrick J. Wong" <djwong@kernel.org>,
Gogul Balakrishnan <bgogul@google.com>,
Arman Hasanzadeh <armanihm@google.com>,
Kees Cook <kees@kernel.org>,
linux-xfs@vger.kernel.org, codemender-patching+linux@google.com
Subject: Re: [PATCH v2] xfs: annotate struct xfs_attr_list_context with __counted_by_ptr
Date: Wed, 18 Mar 2026 11:12:37 +0100 [thread overview]
Message-ID: <177382875793.271956.17392392871867238671.b4-ty@kernel.org> (raw)
In-Reply-To: <20260316184200.840020-1-morbo@google.com>
On Mon, 16 Mar 2026 18:41:58 +0000, Bill Wendling wrote:
> Add the `__counted_by_ptr` attribute to the `buffer` field of `struct
> xfs_attr_list_context`. This field is used to point to a buffer of
> size `bufsize`.
>
> The `buffer` field is assigned in:
> 1. `xfs_ioc_attr_list` in `fs/xfs/xfs_handle.c`
> 2. `xfs_xattr_list` in `fs/xfs/xfs_xattr.c`
> 3. `xfs_getparents` in `fs/xfs/xfs_handle.c` (implicitly initialized to NULL)
>
> [...]
Applied to for-next, thanks!
[1/1] xfs: annotate struct xfs_attr_list_context with __counted_by_ptr
commit: e5966096d0856d071269cb5928d6bc33342d2dfd
Best regards,
--
Carlos Maiolino <cem@kernel.org>
prev parent reply other threads:[~2026-03-18 10:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-03 1:56 [PATCH] " Bill Wendling
2026-03-03 5:14 ` Darrick J. Wong
2026-03-03 7:35 ` Bill Wendling
2026-03-03 14:40 ` Christoph Hellwig
2026-03-16 18:42 ` Bill Wendling
2026-03-16 18:41 ` [PATCH v2] " Bill Wendling
2026-03-16 22:53 ` Darrick J. Wong
2026-03-17 9:13 ` Christoph Hellwig
2026-03-18 10:12 ` Carlos Maiolino [this message]
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=177382875793.271956.17392392871867238671.b4-ty@kernel.org \
--to=cem@kernel.org \
--cc=armanihm@google.com \
--cc=bgogul@google.com \
--cc=codemender-patching+linux@google.com \
--cc=djwong@kernel.org \
--cc=kees@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-xfs@vger.kernel.org \
--cc=morbo@google.com \
/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
all inboxes | Powered by JetHome®