diff options
Diffstat (limited to 'ipc/mqueue.c')
-rw-r--r-- | ipc/mqueue.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ipc/mqueue.c b/ipc/mqueue.c index 7c274002c9f5..3acc1661e517 100644 --- a/ipc/mqueue.c +++ b/ipc/mqueue.c | |||
@@ -90,7 +90,7 @@ static struct super_operations mqueue_super_ops; | |||
90 | static void remove_notification(struct mqueue_inode_info *info); | 90 | static void remove_notification(struct mqueue_inode_info *info); |
91 | 91 | ||
92 | static spinlock_t mq_lock; | 92 | static spinlock_t mq_lock; |
93 | static kmem_cache_t *mqueue_inode_cachep; | 93 | static struct kmem_cache *mqueue_inode_cachep; |
94 | static struct vfsmount *mqueue_mnt; | 94 | static struct vfsmount *mqueue_mnt; |
95 | 95 | ||
96 | static unsigned int queues_count; | 96 | static unsigned int queues_count; |
@@ -211,7 +211,7 @@ static int mqueue_get_sb(struct file_system_type *fs_type, | |||
211 | return get_sb_single(fs_type, flags, data, mqueue_fill_super, mnt); | 211 | return get_sb_single(fs_type, flags, data, mqueue_fill_super, mnt); |
212 | } | 212 | } |
213 | 213 | ||
214 | static void init_once(void *foo, kmem_cache_t * cachep, unsigned long flags) | 214 | static void init_once(void *foo, struct kmem_cache * cachep, unsigned long flags) |
215 | { | 215 | { |
216 | struct mqueue_inode_info *p = (struct mqueue_inode_info *) foo; | 216 | struct mqueue_inode_info *p = (struct mqueue_inode_info *) foo; |
217 | 217 | ||
@@ -224,7 +224,7 @@ static struct inode *mqueue_alloc_inode(struct super_block *sb) | |||
224 | { | 224 | { |
225 | struct mqueue_inode_info *ei; | 225 | struct mqueue_inode_info *ei; |
226 | 226 | ||
227 | ei = kmem_cache_alloc(mqueue_inode_cachep, SLAB_KERNEL); | 227 | ei = kmem_cache_alloc(mqueue_inode_cachep, GFP_KERNEL); |
228 | if (!ei) | 228 | if (!ei) |
229 | return NULL; | 229 | return NULL; |
230 | return &ei->vfs_inode; | 230 | return &ei->vfs_inode; |