diff options
-rw-r--r-- | security/selinux/hooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 1bb5eea3b8c1..5e61635610bb 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c | |||
@@ -192,7 +192,7 @@ static int file_alloc_security(struct file *file) | |||
192 | struct task_security_struct *tsec = current->security; | 192 | struct task_security_struct *tsec = current->security; |
193 | struct file_security_struct *fsec; | 193 | struct file_security_struct *fsec; |
194 | 194 | ||
195 | fsec = kzalloc(sizeof(struct file_security_struct), GFP_ATOMIC); | 195 | fsec = kzalloc(sizeof(struct file_security_struct), GFP_KERNEL); |
196 | if (!fsec) | 196 | if (!fsec) |
197 | return -ENOMEM; | 197 | return -ENOMEM; |
198 | 198 | ||