diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-25 14:44:41 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-28 00:47:24 -0400 |
commit | 7fd25dac9ad3970bede16f2834daf9f9d779d1b0 (patch) | |
tree | 562290ebf7e4d12a1cbadb04deb5118a3e53d773 /fs/open.c | |
parent | e6641eddf0e7f0227493e91a1d91546f6bd73525 (diff) |
constify chown_common/security_path_chown
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/open.c')
-rw-r--r-- | fs/open.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -564,7 +564,7 @@ SYSCALL_DEFINE2(chmod, const char __user *, filename, umode_t, mode) | |||
564 | return sys_fchmodat(AT_FDCWD, filename, mode); | 564 | return sys_fchmodat(AT_FDCWD, filename, mode); |
565 | } | 565 | } |
566 | 566 | ||
567 | static int chown_common(struct path *path, uid_t user, gid_t group) | 567 | static int chown_common(const struct path *path, uid_t user, gid_t group) |
568 | { | 568 | { |
569 | struct inode *inode = path->dentry->d_inode; | 569 | struct inode *inode = path->dentry->d_inode; |
570 | struct inode *delegated_inode = NULL; | 570 | struct inode *delegated_inode = NULL; |