diff options
Diffstat (limited to 'fs/fcntl.c')
-rw-r--r-- | fs/fcntl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fcntl.c b/fs/fcntl.c index e4f26165f12a..4740d35e52cd 100644 --- a/fs/fcntl.c +++ b/fs/fcntl.c | |||
@@ -553,7 +553,7 @@ int send_sigurg(struct fown_struct *fown) | |||
553 | } | 553 | } |
554 | 554 | ||
555 | static DEFINE_RWLOCK(fasync_lock); | 555 | static DEFINE_RWLOCK(fasync_lock); |
556 | static kmem_cache_t *fasync_cache __read_mostly; | 556 | static struct kmem_cache *fasync_cache __read_mostly; |
557 | 557 | ||
558 | /* | 558 | /* |
559 | * fasync_helper() is used by some character device drivers (mainly mice) | 559 | * fasync_helper() is used by some character device drivers (mainly mice) |
@@ -567,7 +567,7 @@ int fasync_helper(int fd, struct file * filp, int on, struct fasync_struct **fap | |||
567 | int result = 0; | 567 | int result = 0; |
568 | 568 | ||
569 | if (on) { | 569 | if (on) { |
570 | new = kmem_cache_alloc(fasync_cache, SLAB_KERNEL); | 570 | new = kmem_cache_alloc(fasync_cache, GFP_KERNEL); |
571 | if (!new) | 571 | if (!new) |
572 | return -ENOMEM; | 572 | return -ENOMEM; |
573 | } | 573 | } |