constify chown_common/security_path_chown
[deliverable/linux.git] / fs / open.c
index 2f49fce5c952601f899edecfa548ce91a213605f..651bf74745a2976fa5476de58fc57142a28a7296 100644 (file)
--- a/fs/open.c
+++ b/fs/open.c
@@ -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;
This page took 0.027575 seconds and 5 git commands to generate.