diff options
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/shm.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -39,7 +39,6 @@ | |||
39 | #include <linux/nsproxy.h> | 39 | #include <linux/nsproxy.h> |
40 | #include <linux/mount.h> | 40 | #include <linux/mount.h> |
41 | #include <linux/ipc_namespace.h> | 41 | #include <linux/ipc_namespace.h> |
42 | #include <linux/ima.h> | ||
43 | 42 | ||
44 | #include <asm/uaccess.h> | 43 | #include <asm/uaccess.h> |
45 | 44 | ||
@@ -895,7 +894,6 @@ long do_shmat(int shmid, char __user *shmaddr, int shmflg, ulong *raddr) | |||
895 | &shm_file_operations); | 894 | &shm_file_operations); |
896 | if (!file) | 895 | if (!file) |
897 | goto out_free; | 896 | goto out_free; |
898 | ima_counts_get(file); | ||
899 | 897 | ||
900 | file->private_data = sfd; | 898 | file->private_data = sfd; |
901 | file->f_mapping = shp->shm_file->f_mapping; | 899 | file->f_mapping = shp->shm_file->f_mapping; |