switch security_path_chmod() to struct path *

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2011-12-08 10:51:53 -05:00
parent d8c9584ea2
commit cdcf116d44
6 changed files with 15 additions and 25 deletions

View file

@ -279,8 +279,7 @@ static int cap_path_truncate(struct path *path)
return 0;
}
static int cap_path_chmod(struct dentry *dentry, struct vfsmount *mnt,
umode_t mode)
static int cap_path_chmod(struct path *path, umode_t mode)
{
return 0;
}