patch-2.3.99-pre2 linux/drivers/char/raw.c

Next file: linux/drivers/char/rtc.c
Previous file: linux/drivers/char/pc_keyb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre1/linux/drivers/char/raw.c linux/drivers/char/raw.c
@@ -102,7 +102,7 @@
 	 */
 	
 	sector_size = 512;
-	if (lookup_vfsmnt(rdev) != NULL) {
+	if (get_super(rdev) != NULL) {
 		if (blksize_size[MAJOR(rdev)])
 			sector_size = blksize_size[MAJOR(rdev)][MINOR(rdev)];
 	} else {

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