]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/notify/dnotify/dnotify.c
fsnotify: fsnotify_obtain_group should be fsnotify_alloc_group
[net-next-2.6.git] / fs / notify / dnotify / dnotify.c
index 1f46aeac3387f6540d545bb89e7b19f652e37c81..51e4fe33d6bb2224d4cce8f05939a969f2a1e35a 100644 (file)
@@ -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;