fsnotify: drop mask argument from fsnotify_alloc_group

Nothing uses the mask argument to fsnotify_alloc_group.  This patch drops
that argument.

Signed-off-by: Eric Paris <eparis@redhat.com>
This commit is contained in:
Eric Paris
2009-12-17 21:24:22 -05:00
parent 220d14df0d
commit 0d2e2a1d00
6 changed files with 6 additions and 13 deletions

View File

@ -937,7 +937,7 @@ static int __init audit_tree_init(void)
{
int i;
audit_tree_group = fsnotify_alloc_group(0, &audit_tree_ops);
audit_tree_group = fsnotify_alloc_group(&audit_tree_ops);
if (IS_ERR(audit_tree_group))
audit_panic("cannot initialize fsnotify group for rectree watches");

View File

@ -585,7 +585,7 @@ static const struct fsnotify_ops audit_watch_fsnotify_ops = {
static int __init audit_watch_init(void)
{
audit_watch_group = fsnotify_alloc_group(0, &audit_watch_fsnotify_ops);
audit_watch_group = fsnotify_alloc_group(&audit_watch_fsnotify_ops);
if (IS_ERR(audit_watch_group)) {
audit_watch_group = NULL;
audit_panic("cannot create audit fsnotify group");