diskio: fix name for secpercyl field, remove unused type field
authorH. Peter Anvin <hpa@zytor.com>
Sat, 17 Jul 2010 19:36:26 +0000 (12:36 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 17 Jul 2010 19:36:26 +0000 (12:36 -0700)
commit8cca6fd29bb7613f5ba6acb1b740d13f5b6ac01d
tree92643a34ef10eedcdf92fdeaf1911c561f4747d0
parent465b43c2e0b714336dcd9767ad9c9d39850f70ba
diskio: fix name for secpercyl field, remove unused type field

Fix the name for the incorrectly named "t" (track) field; it is in
fact the sectors/cylinder (secpercyl) field.  Furthermore, remove the
completely unused "type" field... right now the pointer to the
rdwr_sectors field acts as a proxy, and if we need more complex stuff
in the future it is probably better handled by pointing to an ops
structure.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/fs/diskio.c
core/include/disk.h
core/include/fs.h