X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=fs%2Fpipe.c;h=01a786567810cb0ffa38b3dd1a1a0ee23d1870b4;hb=fb045adb99d9b7c562dc7fef834857f78249daa1;hp=ae3592dcc88c32435e74cf9be5a9f7fedaa4fa10;hpb=5f57cbcc02cf18f6b22ef4066bb10afeb8f930ff;p=linux-2.6-block.git diff --git a/fs/pipe.c b/fs/pipe.c index ae3592dcc88c..01a786567810 100644 --- a/fs/pipe.c +++ b/fs/pipe.c @@ -1004,7 +1004,7 @@ struct file *create_write_pipe(int flags) goto err_inode; path.mnt = mntget(pipe_mnt); - path.dentry->d_op = &pipefs_dentry_operations; + d_set_d_op(path.dentry, &pipefs_dentry_operations); d_instantiate(path.dentry, inode); err = -ENFILE;