]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/proc/base.c
fs: change d_delete semantics
[mirror_ubuntu-zesty-kernel.git] / fs / proc / base.c
index 182845147fe45bde8f5607a799f23cc1e2818117..d932fdb6a2453d7376d891cd237dcb08d5195873 100644 (file)
@@ -1744,7 +1744,7 @@ static int pid_revalidate(struct dentry *dentry, struct nameidata *nd)
        return 0;
 }
 
-static int pid_delete_dentry(struct dentry * dentry)
+static int pid_delete_dentry(const struct dentry * dentry)
 {
        /* Is the task we represent dead?
         * If so, then don't put the dentry on the lru list,