fs: change d_delete semantics
[platform/adaptation/renesas_rcar/renesas_kernel.git] / fs / proc / base.c
index 1828451..d932fdb 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,