diff options
Diffstat (limited to 'fs/pipe.c')
-rw-r--r-- | fs/pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | ||