mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 23:05:25 -04:00
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: b4dbfd8653 ("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>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user