summaryrefslogtreecommitdiff
path: root/include/linux/dcache.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 14:46:47 +0300
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 14:46:47 +0300
commitbf717c0a2e18dbe82eeb28e57b0abede3cdf45d6 (patch)
tree98d209372f0fed08fca6c4936677ee09cf435209 /include/linux/dcache.h
parent35b5d0be3d8de9a5ac51471c12029fb115200cdc (diff)
downloadlinux-bf717c0a2e18dbe82eeb28e57b0abede3cdf45d6.tar.xz
ide: keep track of number of bytes instead of sectors in struct ide_cmd
* Pass number of bytes instead of sectors to ide_init_sg_cmd(). * Pass number of bytes to process to ide_pio_sector() and rename it to ide_pio_bytes(). * Rename ->nsect field to ->nbytes in struct ide_cmd and use ->nbytes, ->nleft and ->cursg_ofs to keep track of number of bytes instead of sectors. There should be no functional changes caused by this patch. Acked-by: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/dcache.h')
0 files changed, 0 insertions, 0 deletions