constify chown_common/security_path_chown
[deliverable/linux.git] / security / security.c
index 23ffb6cc3974bab206e6f69fe2faa9311ad75d6a..4a3e7e99abbbc85bd8db78555eafa0074eeda9ba 100644 (file)
@@ -492,7 +492,7 @@ int security_path_chmod(struct path *path, umode_t mode)
        return call_int_hook(path_chmod, 0, path, mode);
 }
 
-int security_path_chown(struct path *path, kuid_t uid, kgid_t gid)
+int security_path_chown(const struct path *path, kuid_t uid, kgid_t gid)
 {
        if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry))))
                return 0;
This page took 0.572468 seconds and 5 git commands to generate.