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

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