summaryrefslogtreecommitdiffstats
path: root/fs/notify/inotify
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:50 -0400
commitffab83402f01555a5fa32efb48a4dd0ce8d12ef5 (patch)
tree4e02fa7422becb56e6ed4b8721f8b0fb3a867d44 /fs/notify/inotify
parentcd7752ce7cac5184ca35aecebffafae9662570bc (diff)
downloadlinux-ffab83402f01555a5fa32efb48a4dd0ce8d12ef5.tar.gz
linux-ffab83402f01555a5fa32efb48a4dd0ce8d12ef5.tar.bz2
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')
-rw-r--r--fs/notify/inotify/inotify_user.c2
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;