diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-12-08 15:51:53 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-07 04:16:53 (GMT) |
commit | cdcf116d44e78c7216ba9f8be9af1cdfca7af728 (patch) | |
tree | 2417cfd3e06ac5e2468585e8f00d580242cb5571 /fs | |
parent | d8c9584ea2a92879f471fd3a2be3af6c534fb035 (diff) | |
download | linux-fsl-qoriq-cdcf116d44e78c7216ba9f8be9af1cdfca7af728.tar.xz |
switch security_path_chmod() to struct path *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/open.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -456,7 +456,7 @@ static int chmod_common(struct path *path, umode_t mode) if (error) return error; mutex_lock(&inode->i_mutex); - error = security_path_chmod(path->dentry, path->mnt, mode); + error = security_path_chmod(path, mode); if (error) goto out_unlock; newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); |