patch-2.4.11-dontuse linux/fs/pipe.c
Next file: linux/fs/proc/inode.c
Previous file: linux/fs/partitions/ultrix.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Fri Sep 28 18:03:48 2001
- Orig file:
v2.4.10/linux/fs/pipe.c
- Orig date:
Sun Sep 23 11:41:00 2001
diff -u --recursive --new-file v2.4.10/linux/fs/pipe.c linux/fs/pipe.c
@@ -476,7 +476,7 @@
static struct inode * get_pipe_inode(void)
{
- struct inode *inode = get_empty_inode();
+ struct inode *inode = new_inode(pipe_mnt->mnt_sb);
if (!inode)
goto fail_inode;
@@ -485,7 +485,6 @@
goto fail_iput;
PIPE_READERS(*inode) = PIPE_WRITERS(*inode) = 1;
inode->i_fop = &rdwr_pipe_fops;
- inode->i_sb = pipe_mnt->mnt_sb;
/*
* Mark the inode dirty from the very beginning,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)