patch-2.3.36 linux/fs/efs/inode.c
Next file: linux/fs/exec.c
Previous file: linux/fs/devpts/inode.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Tue Jan 4 13:02:23 2000
- Orig file:
v2.3.35/linux/fs/efs/inode.c
- Orig date:
Thu May 13 23:50:15 1999
diff -u --recursive --new-file v2.3.35/linux/fs/efs/inode.c linux/fs/efs/inode.c
@@ -131,16 +131,10 @@
inode->i_op = &efs_symlink_inode_operations;
break;
case S_IFCHR:
- inode->i_rdev = device;
- inode->i_op = &chrdev_inode_operations;
- break;
case S_IFBLK:
- inode->i_rdev = device;
- inode->i_op = &blkdev_inode_operations;
- break;
case S_IFIFO:
- init_fifo(inode);
- break;
+ init_special_inode(inode, inode->i_mode, device);
+ break;
default:
printk(KERN_WARNING "EFS: unsupported inode mode %o\n", inode->i_mode);
goto read_inode_error;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)