diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-03-02 02:36:47 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-03-02 02:36:47 +0000 |
commit | 8624512aa908741ba2795200133eae0d7f4557ea (patch) | |
tree | d5d3036fccf2604f4c98dedc11e8adb929d6b52e /fs/pipe.c | |
parent | 7b8f5d6f1d45d9f9de1d26e7d3c32aa5af11b488 (diff) |
Merge with 2.3.48.
Diffstat (limited to 'fs/pipe.c')
-rw-r--r-- | fs/pipe.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -533,7 +533,6 @@ struct file_operations rdwr_pipe_fops = { static struct inode * get_pipe_inode(void) { - extern struct inode_operations pipe_inode_operations; struct inode *inode = get_empty_inode(); unsigned long page; @@ -548,7 +547,7 @@ static struct inode * get_pipe_inode(void) if (!inode->i_pipe) goto fail_page; - inode->i_op = &pipe_inode_operations; + inode->i_fop = &rdwr_pipe_fops; init_waitqueue_head(PIPE_WAIT(*inode)); PIPE_BASE(*inode) = (char *) page; @@ -578,10 +577,6 @@ fail_inode: return NULL; } -struct inode_operations pipe_inode_operations = { - &rdwr_pipe_fops, -}; - int do_pipe(int *fd) { struct inode * inode; |