diff options
Diffstat (limited to 'ipc/shm.c')
-rw-r--r-- | ipc/shm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -129,7 +129,7 @@ void __init shm_init(void) | |||
129 | 129 | ||
130 | static inline struct shmid_kernel *shm_obtain_object(struct ipc_namespace *ns, int id) | 130 | static inline struct shmid_kernel *shm_obtain_object(struct ipc_namespace *ns, int id) |
131 | { | 131 | { |
132 | struct kern_ipc_perm *ipcp = ipc_obtain_object(&shm_ids(ns), id); | 132 | struct kern_ipc_perm *ipcp = ipc_obtain_object_idr(&shm_ids(ns), id); |
133 | 133 | ||
134 | if (IS_ERR(ipcp)) | 134 | if (IS_ERR(ipcp)) |
135 | return ERR_CAST(ipcp); | 135 | return ERR_CAST(ipcp); |