Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.3.48 /fs/pipe.c

Filename:/fs/pipe.c
Lines Added:1
Lines Deleted:6
Also changed in: (Previous) 2.3.43  2.3.30  2.3.29  2.3.18  2.3.17  2.3.15 
(Following) 2.3.50  2.3.99-pre3  2.3.99-pre6  2.3.99-pre7  2.3.99-pre9  2.5.48 

Location
[  2.3.48
  [  fs
     o  pipe.c

Patch

diff -u --recursive --new-file v2.3.47/linux/fs/pipe.c linux/fs/pipe.c
--- v2.3.47/linux/fs/pipe.c   Thu Feb 10 17:11:18 2000
+++ linux/fs/pipe.c   Sat Feb 26 20:33:07 2000
@@ -533,7 +533,6 @@
 
 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 @@
    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;
@@ -577,10 +576,6 @@
 fail_inode:
    return NULL;
 }
-
-struct inode_operations pipe_inode_operations = {
-   &rdwr_pipe_fops,
-};
 
 int do_pipe(int *fd)
 {


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.