patch-2.2.4 linux/drivers/block/nbd.c
Next file: linux/drivers/block/ns87415.c
Previous file: linux/drivers/block/ll_rw_blk.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Mar 9 16:58:05 1999
- Orig file:
v2.2.3/linux/drivers/block/nbd.c
- Orig date:
Wed Mar 10 15:29:45 1999
diff -u --recursive --new-file v2.2.3/linux/drivers/block/nbd.c linux/drivers/block/nbd.c
@@ -418,7 +418,7 @@
return 0;
#endif
case BLKGETSIZE:
- return put_user(nbd_bytesizes[dev] << 9, (long *) arg);
+ return put_user(nbd_bytesizes[dev] >> 9, (long *) arg);
}
return -EINVAL;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)