patch-2.3.99-pre9 linux/fs/pipe.c
Next file: linux/fs/proc/base.c
Previous file: linux/fs/partitions/check.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Sun May 21 20:18:08 2000
- Orig file:
v2.3.99-pre8/linux/fs/pipe.c
- Orig date:
Thu May 11 15:30:08 2000
diff -u --recursive --new-file v2.3.99-pre8/linux/fs/pipe.c linux/fs/pipe.c
@@ -465,7 +465,7 @@
return NULL;
}
-static struct vfsmount *pipe_mnt = NULL;
+static struct vfsmount *pipe_mnt;
static struct inode * get_pipe_inode(void)
{
@@ -609,6 +609,7 @@
root->i_atime = root->i_mtime = root->i_ctime = CURRENT_TIME;
sb->s_blocksize = 1024;
sb->s_blocksize_bits = 10;
+ sb->s_magic = PIPEFS_MAGIC;
sb->s_op = &pipefs_ops;
sb->s_root = d_alloc(NULL, &(const struct qstr) { "pipe:", 5, 0 });
if (!sb->s_root) {
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen (who was at: [email protected])