From: "Günther Noack" <gnoack3000@gmail.com>
To: "Mickaël Salaün" <mic@digikod.net>
Cc: linux-security-module@vger.kernel.org,
Christian Brauner <brauner@kernel.org>,
Mateusz Guzik <mjguzik@gmail.com>
Subject: Re: [PATCH v1 5/5] landlock: Fix formatting
Date: Tue, 23 Dec 2025 22:29:46 +0100 [thread overview]
Message-ID: <20251223.c47a212b0e4f@gnoack.org> (raw)
In-Reply-To: <20251219193855.825889-5-mic@digikod.net>
On Fri, Dec 19, 2025 at 08:38:51PM +0100, Mickaël Salaün wrote:
> Format with clang-format -i security/landlock/*.[ch]
>
> Cc: Christian Brauner <brauner@kernel.org>
> Cc: Günther Noack <gnoack3000@gmail.com>
> Cc: Mateusz Guzik <mjguzik@gmail.com>
> Fixes: b4dbfd8653b3 ("Coccinelle-based conversion to use ->i_state accessors")
> Signed-off-by: Mickaël Salaün <mic@digikod.net>
> ---
> security/landlock/fs.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/security/landlock/fs.c b/security/landlock/fs.c
> index fe794875ad46..e3c3a8a9ac27 100644
> --- a/security/landlock/fs.c
> +++ b/security/landlock/fs.c
> @@ -1314,7 +1314,8 @@ static void hook_sb_delete(struct super_block *const sb)
> * second call to iput() for the same Landlock object. Also
> * checks I_NEW because such inode cannot be tied to an object.
> */
> - if (inode_state_read(inode) & (I_FREEING | I_WILL_FREE | I_NEW)) {
> + if (inode_state_read(inode) &
> + (I_FREEING | I_WILL_FREE | I_NEW)) {
> spin_unlock(&inode->i_lock);
> continue;
> }
> --
> 2.52.0
>
Reviewed-by: Günther Noack <gnoack3000@gmail.com>
next prev parent reply other threads:[~2025-12-23 21:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-19 19:38 [PATCH v1 1/5] landlock: Remove useless include Mickaël Salaün
2025-12-19 19:38 ` [PATCH v1 2/5] landlock: Improve erratum documentation Mickaël Salaün
2025-12-23 21:28 ` Günther Noack
2025-12-19 19:38 ` [PATCH v1 3/5] landlock: Clean up hook_ptrace_access_check() Mickaël Salaün
2025-12-23 21:29 ` Günther Noack
2025-12-19 19:38 ` [PATCH v1 4/5] landlock: Fix spelling Mickaël Salaün
2025-12-23 21:29 ` Günther Noack
2025-12-19 19:38 ` [PATCH v1 5/5] landlock: Fix formatting Mickaël Salaün
2025-12-23 21:29 ` Günther Noack [this message]
2025-12-23 21:27 ` [PATCH v1 1/5] landlock: Remove useless include Günther Noack
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=20251223.c47a212b0e4f@gnoack.org \
--to=gnoack3000@gmail.com \
--cc=brauner@kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=mic@digikod.net \
--cc=mjguzik@gmail.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;
as well as URLs for NNTP newsgroup(s).