patch-pre2.0.3 linux/fs/ufs/ufs_inode.c
Next file: linux/include/linux/cm206.h
Previous file: linux/fs/locks.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon May 13 07:36:19 1996
- Orig file:
pre2.0.2/linux/fs/ufs/ufs_inode.c
- Orig date:
Sat Apr 27 15:19:59 1996
diff -u --recursive --new-file pre2.0.2/linux/fs/ufs/ufs_inode.c linux/fs/ufs/ufs_inode.c
@@ -185,7 +185,7 @@
if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) {
/* XXX - should be ui_db[1] on little endian ufs filesystems */
- inode->i_rdev = ufsip->ui_db[0];
+ inode->i_rdev = to_kdev_t(ufsip->ui_db[0]);
}
/* XXX - implement fast and slow symlinks */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this