aboutsummaryrefslogtreecommitdiffstats
path: root/fs/notify/dnotify
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2009-12-17 21:24:22 -0500
committerEric Paris <eparis@redhat.com>2010-07-28 09:58:51 -0400
commit0d2e2a1d00d7d23e5bd9bb0935cde7c3d5835c56 (patch)
tree1c6bbbcbb143a364838d6749aa086af3c019f965 /fs/notify/dnotify
parent220d14df0dc587c06b97762829a41157c9375b94 (diff)
fsnotify: drop mask argument from fsnotify_alloc_group
Nothing uses the mask argument to fsnotify_alloc_group. This patch drops that argument. Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'fs/notify/dnotify')
-rw-r--r--fs/notify/dnotify/dnotify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/notify/dnotify/dnotify.c b/fs/notify/dnotify/dnotify.c
index 51e4fe33d6bb..e0a847bd53be 100644
--- a/fs/notify/dnotify/dnotify.c
+++ b/fs/notify/dnotify/dnotify.c
@@ -433,7 +433,7 @@ static int __init dnotify_init(void)
433 dnotify_struct_cache = KMEM_CACHE(dnotify_struct, SLAB_PANIC); 433 dnotify_struct_cache = KMEM_CACHE(dnotify_struct, SLAB_PANIC);
434 dnotify_mark_entry_cache = KMEM_CACHE(dnotify_mark_entry, SLAB_PANIC); 434 dnotify_mark_entry_cache = KMEM_CACHE(dnotify_mark_entry, SLAB_PANIC);
435 435
436 dnotify_group = fsnotify_alloc_group(0, &dnotify_fsnotify_ops); 436 dnotify_group = fsnotify_alloc_group(&dnotify_fsnotify_ops);
437 if (IS_ERR(dnotify_group)) 437 if (IS_ERR(dnotify_group))
438 panic("unable to allocate fsnotify group for dnotify\n"); 438 panic("unable to allocate fsnotify group for dnotify\n");
439 return 0; 439 return 0;