summaryrefslogtreecommitdiffstats
path: root/fs/notify/dnotify
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2009-12-18 03:24:22 +0100
committerEric Paris <eparis@redhat.com>2010-07-28 15:58:50 +0200
commitffab83402f01555a5fa32efb48a4dd0ce8d12ef5 (patch)
tree4e02fa7422becb56e6ed4b8721f8b0fb3a867d44 /fs/notify/dnotify
parentfsnotify: fsnotify_obtain_group kzalloc cleanup (diff)
downloadlinux-ffab83402f01555a5fa32efb48a4dd0ce8d12ef5.tar.xz
linux-ffab83402f01555a5fa32efb48a4dd0ce8d12ef5.zip
fsnotify: fsnotify_obtain_group should be fsnotify_alloc_group
fsnotify_obtain_group was intended to be able to find an already existing group. Nothing uses that functionality. This just renames it to fsnotify_alloc_group so it is clear what it is doing. 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 1f46aeac3387..51e4fe33d6bb 100644
--- a/fs/notify/dnotify/dnotify.c
+++ b/fs/notify/dnotify/dnotify.c
@@ -433,7 +433,7 @@ static int __init dnotify_init(void)
dnotify_struct_cache = KMEM_CACHE(dnotify_struct, SLAB_PANIC);
dnotify_mark_entry_cache = KMEM_CACHE(dnotify_mark_entry, SLAB_PANIC);
- dnotify_group = fsnotify_obtain_group(0, &dnotify_fsnotify_ops);
+ dnotify_group = fsnotify_alloc_group(0, &dnotify_fsnotify_ops);
if (IS_ERR(dnotify_group))
panic("unable to allocate fsnotify group for dnotify\n");
return 0;