summary refs log tree commit diff
path: root/fs/dnotify.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/dnotify.c')
-rw-r--r--fs/dnotify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dnotify.c b/fs/dnotify.c
index 2b0442db67e0..e778b1737b79 100644
--- a/fs/dnotify.c
+++ b/fs/dnotify.c
@@ -77,7 +77,7 @@ int fcntl_dirnotify(int fd, struct file *filp, unsigned long arg)
 	inode = filp->f_dentry->d_inode;
 	if (!S_ISDIR(inode->i_mode))
 		return -ENOTDIR;
-	dn = kmem_cache_alloc(dn_cache, SLAB_KERNEL);
+	dn = kmem_cache_alloc(dn_cache, GFP_KERNEL);
 	if (dn == NULL)
 		return -ENOMEM;
 	spin_lock(&inode->i_lock);