mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 06:32:08 +00:00
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>
This commit is contained in:
parent
cd7752ce7c
commit
ffab83402f
6 changed files with 10 additions and 14 deletions
|
@ -577,8 +577,8 @@ static const struct fsnotify_ops audit_watch_fsnotify_ops = {
|
|||
|
||||
static int __init audit_watch_init(void)
|
||||
{
|
||||
audit_watch_group = fsnotify_obtain_group(AUDIT_FS_WATCH,
|
||||
&audit_watch_fsnotify_ops);
|
||||
audit_watch_group = fsnotify_alloc_group(AUDIT_FS_WATCH,
|
||||
&audit_watch_fsnotify_ops);
|
||||
if (IS_ERR(audit_watch_group)) {
|
||||
audit_watch_group = NULL;
|
||||
audit_panic("cannot create audit fsnotify group");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue