patch-1.3.28 linux/fs/umsdos/dir.c
Next file: linux/fs/xiafs/bitmap.c
Previous file: linux/fs/sysv/namei.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Sep 18 08:54:11 1995
- Orig file:
v1.3.27/linux/fs/umsdos/dir.c
- Orig date:
Fri Jul 7 08:54:52 1995
diff -u --recursive --new-file v1.3.27/linux/fs/umsdos/dir.c linux/fs/umsdos/dir.c
@@ -346,7 +346,7 @@
*/
if (S_ISREG(entry->mode)) entry->mtime = inode->i_mtime;
inode->i_mode = entry->mode;
- inode->i_rdev = entry->rdev;
+ inode->i_rdev = to_kdev_t(entry->rdev);
inode->i_atime = entry->atime;
inode->i_ctime = entry->ctime;
inode->i_mtime = entry->mtime;
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