diff options
| author | Mickaël Salaün <mic@digikod.net> | 2025-12-19 20:38:51 +0100 |
|---|---|---|
| committer | Mickaël Salaün <mic@digikod.net> | 2025-12-26 20:38:53 +0100 |
| commit | 552dbf47a85c3b0eea1d7984ce3794b8d9b20e94 (patch) | |
| tree | 3a087687af6764d3551949721e0286ca71d442fa /security | |
| parent | 8f0b4cce4481fb22653697cced8d0d04027cb1e8 (diff) | |
landlock: Fix formatting
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")
Link: https://lore.kernel.org/r/20251219193855.825889-5-mic@digikod.net
Reviewed-by: Günther Noack <gnoack3000@gmail.com>
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'security')
| -rw-r--r-- | security/landlock/fs.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |
