patch-2.4.5 linux/drivers/char/raw.c
Next file: linux/drivers/char/riscom8.c
Previous file: linux/drivers/char/random.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun May 20 11:34:05 2001
- Orig file:
v2.4.4/linux/drivers/char/raw.c
- Orig date:
Fri Apr 27 14:23:25 2001
diff -u --recursive --new-file v2.4.4/linux/drivers/char/raw.c linux/drivers/char/raw.c
@@ -131,7 +131,7 @@
*/
sector_size = 512;
- if (get_super(rdev) != NULL) {
+ if (is_mounted(rdev)) {
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)