Skip to content

Commit 552dbf4

Browse files
committed
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: b4dbfd8 ("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>
1 parent 8f0b4cc commit 552dbf4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • security/landlock

security/landlock/fs.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1314,7 +1314,8 @@ static void hook_sb_delete(struct super_block *const sb)
13141314
* second call to iput() for the same Landlock object. Also
13151315
* checks I_NEW because such inode cannot be tied to an object.
13161316
*/
1317-
if (inode_state_read(inode) & (I_FREEING | I_WILL_FREE | I_NEW)) {
1317+
if (inode_state_read(inode) &
1318+
(I_FREEING | I_WILL_FREE | I_NEW)) {
13181319
spin_unlock(&inode->i_lock);
13191320
continue;
13201321
}

0 commit comments

Comments
 (0)