constify chown_common/security_path_chown
[deliverable/linux.git] / security / apparmor / lsm.c
index 21dae6070bb9dda82818ba0eac83977f4cbd091e..3adbff987b77621652a225bdab94e84f9b5ce46a 100644 (file)
@@ -342,7 +342,7 @@ static int apparmor_path_chmod(struct path *path, umode_t mode)
        return common_perm_mnt_dentry(OP_CHMOD, path->mnt, path->dentry, AA_MAY_CHMOD);
 }
 
-static int apparmor_path_chown(struct path *path, kuid_t uid, kgid_t gid)
+static int apparmor_path_chown(const struct path *path, kuid_t uid, kgid_t gid)
 {
        struct path_cond cond =  { d_backing_inode(path->dentry)->i_uid,
                                   d_backing_inode(path->dentry)->i_mode
This page took 0.042476 seconds and 5 git commands to generate.