aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
authorChristian Brauner <brauner@kernel.org>2026-05-21 15:34:10 +0200
committerChristian Brauner <brauner@kernel.org>2026-05-21 15:34:10 +0200
commit1f2d4f9d8db579a75c2d9e6d63707501049ae021 (patch)
tree412e08b69952514dd4931eec982ece861b8a52ba /security
parent56afad474a89e463abdbbeb4ecc6918ec13c7ded (diff)
parent5b451b76c85c8309d2e02caa467b38f5999c986f (diff)
downloadlinux-next-history-1f2d4f9d8db579a75c2d9e6d63707501049ae021.tar.gz
Merge branch 'vfs-7.2.inode' into vfs.all
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'security')
-rw-r--r--security/landlock/fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/landlock/fs.c b/security/landlock/fs.c
index c1ecfe2390326..32d560f12dbd3 100644
--- a/security/landlock/fs.c
+++ b/security/landlock/fs.c
@@ -1278,7 +1278,7 @@ static void hook_sb_delete(struct super_block *const sb)
struct landlock_object *object;
/* Only handles referenced inodes. */
- if (!icount_read(inode))
+ if (!icount_read_once(inode))
continue;
/*