patch-2.4.10 linux/fs/devices.c

Next file: linux/fs/dquot.c
Previous file: linux/fs/devfs/util.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.9/linux/fs/devices.c linux/fs/devices.c
@@ -207,7 +207,6 @@
 	} else if (S_ISBLK(mode)) {
 		inode->i_fop = &def_blk_fops;
 		inode->i_rdev = to_kdev_t(rdev);
-		inode->i_bdev = bdget(rdev);
 	} else if (S_ISFIFO(mode))
 		inode->i_fop = &def_fifo_fops;
 	else if (S_ISSOCK(mode))

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)