diff options
author | Eric Paris <eparis@redhat.com> | 2009-12-17 21:24:22 -0500 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-07-28 09:58:50 -0400 |
commit | ffab83402f01555a5fa32efb48a4dd0ce8d12ef5 (patch) | |
tree | 4e02fa7422becb56e6ed4b8721f8b0fb3a867d44 /kernel/audit_watch.c | |
parent | cd7752ce7cac5184ca35aecebffafae9662570bc (diff) |
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 'kernel/audit_watch.c')
-rw-r--r-- | kernel/audit_watch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/audit_watch.c b/kernel/audit_watch.c index c500104d38c2..0f03a6ab96ed 100644 --- a/kernel/audit_watch.c +++ b/kernel/audit_watch.c | |||
@@ -577,8 +577,8 @@ static const struct fsnotify_ops audit_watch_fsnotify_ops = { | |||
577 | 577 | ||
578 | static int __init audit_watch_init(void) | 578 | static int __init audit_watch_init(void) |
579 | { | 579 | { |
580 | audit_watch_group = fsnotify_obtain_group(AUDIT_FS_WATCH, | 580 | audit_watch_group = fsnotify_alloc_group(AUDIT_FS_WATCH, |
581 | &audit_watch_fsnotify_ops); | 581 | &audit_watch_fsnotify_ops); |
582 | if (IS_ERR(audit_watch_group)) { | 582 | if (IS_ERR(audit_watch_group)) { |
583 | audit_watch_group = NULL; | 583 | audit_watch_group = NULL; |
584 | audit_panic("cannot create audit fsnotify group"); | 584 | audit_panic("cannot create audit fsnotify group"); |