aboutsummaryrefslogtreecommitdiffstats
path: root/fs/pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/pipe.c')
-rw-r--r--fs/pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/pipe.c b/fs/pipe.c
index a8012a955720..b8997f8c6324 100644
--- a/fs/pipe.c
+++ b/fs/pipe.c
@@ -1204,7 +1204,7 @@ long pipe_fcntl(struct file *file, unsigned int cmd, unsigned long arg)
1204 struct pipe_inode_info *pipe; 1204 struct pipe_inode_info *pipe;
1205 long ret; 1205 long ret;
1206 1206
1207 pipe = file->f_path.dentry->d_inode->i_pipe; 1207 pipe = get_pipe_info(file);
1208 if (!pipe) 1208 if (!pipe)
1209 return -EBADF; 1209 return -EBADF;
1210 1210