[PATCH] kill nameidata passing to permission(), rename to inode_permission()

Incidentally, the name that gives hundreds of false positives on grep
is not a good idea...

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2008-07-22 00:07:17 -04:00
commit f419a2e3b6
8 changed files with 17 additions and 21 deletions

View file

@ -63,7 +63,7 @@ xattr_permission(struct inode *inode, const char *name, int mask)
return -EPERM;
}
return permission(inode, mask, NULL);
return inode_permission(inode, mask);
}
int