mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
constify chown_common/security_path_chown
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
e6641eddf0
commit
7fd25dac9a
6 changed files with 7 additions and 7 deletions
|
|
@ -564,7 +564,7 @@ SYSCALL_DEFINE2(chmod, const char __user *, filename, umode_t, mode)
|
|||
return sys_fchmodat(AT_FDCWD, filename, mode);
|
||||
}
|
||||
|
||||
static int chown_common(struct path *path, uid_t user, gid_t group)
|
||||
static int chown_common(const struct path *path, uid_t user, gid_t group)
|
||||
{
|
||||
struct inode *inode = path->dentry->d_inode;
|
||||
struct inode *delegated_inode = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue