diff options
author | Eric Paris <eparis@redhat.com> | 2009-12-18 03:24:22 +0100 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-07-28 15:58:50 +0200 |
commit | ffab83402f01555a5fa32efb48a4dd0ce8d12ef5 (patch) | |
tree | 4e02fa7422becb56e6ed4b8721f8b0fb3a867d44 /fs/notify/inotify/inotify_user.c | |
parent | fsnotify: fsnotify_obtain_group kzalloc cleanup (diff) | |
download | linux-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/inotify/inotify_user.c')
-rw-r--r-- | fs/notify/inotify/inotify_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/inotify_user.c index cae317f5bd9d..25a2854186e9 100644 --- a/fs/notify/inotify/inotify_user.c +++ b/fs/notify/inotify/inotify_user.c @@ -695,7 +695,7 @@ static struct fsnotify_group *inotify_new_group(struct user_struct *user, unsign { struct fsnotify_group *group; - group = fsnotify_obtain_group(0, &inotify_fsnotify_ops); + group = fsnotify_alloc_group(0, &inotify_fsnotify_ops); if (IS_ERR(group)) return group; |