« Previous | Next » 

Revision 5a742b55

ID5a742b55576c044a6fe07b42937272e553503ddd

Added by Paolo Bonzini over 12 years ago

vvfat: unify and correct computation of sector count

The sector count is stored in the partition and hence must not include the
sectors before its start. At the same time, remove the useless special
casing for 1.44 MB floppies. This fixes fsck on VVFAT hard disks,
which otherwise tries to seek past the end of the disk.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Kevin Wolf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences