summaryrefslogtreecommitdiff
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorVlastimil Babka <vbabka@suse.cz>2024-09-05 11:31:32 +0200
committerVlastimil Babka <vbabka@suse.cz>2024-09-10 11:42:27 +0200
commite16f4f70987bce1f6a61609145d075c3926179d2 (patch)
tree96973f92229534c00f04a512a918cae14be632aa /security/selinux/hooks.c
parent5be63fc19fcaa4c236b307420483578a56986a37 (diff)
parent0f389adb4b80eef29920db2e2c99392aa5d06811 (diff)
Merge branch 'vfs.file' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs into slab/for-6.12/kmem_cache_args
Merge prerequisities from the vfs git tree for the following series that introduces kmem_cache_args. The vfs.file branch includes the addition of kmem_cache_create_rcu() which was needed in vfs for the filp cache optimization. The following series refactors this code.
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r--security/selinux/hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index bfa61e005aac..577e1fcbf6df 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -3950,7 +3950,7 @@ static int selinux_file_send_sigiotask(struct task_struct *tsk,
struct file_security_struct *fsec;
/* struct fown_struct is never outside the context of a struct file */
- file = container_of(fown, struct file, f_owner);
+ file = fown->file;
fsec = selinux_file(file);