|
@@ -53,7 +53,7 @@ static struct dentry *proc_ns_instantiate(struct inode *dir,
|
|
ei->ns_ops = ns_ops;
|
|
ei->ns_ops = ns_ops;
|
|
ei->ns = ns;
|
|
ei->ns = ns;
|
|
|
|
|
|
- dentry->d_op = &pid_dentry_operations;
|
|
|
|
|
|
+ d_set_d_op(dentry, &pid_dentry_operations);
|
|
d_add(dentry, inode);
|
|
d_add(dentry, inode);
|
|
/* Close the race of the process dying before we return the dentry */
|
|
/* Close the race of the process dying before we return the dentry */
|
|
if (pid_revalidate(dentry, NULL))
|
|
if (pid_revalidate(dentry, NULL))
|