summaryrefslogtreecommitdiff
path: root/net/sunrpc/sched.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-12-05 10:43:07 +0300
committerJeff Garzik <jeff@garzik.org>2008-01-23 13:24:14 +0300
commit55dba3120fbcbea6800f9a18503d25f73212a347 (patch)
tree1b23e606aad8bc58dbe68ca905c0658625fb176e /net/sunrpc/sched.c
parentceb0c642624f634c5b4f46b0e22df19be87a2e53 (diff)
downloadlinux-55dba3120fbcbea6800f9a18503d25f73212a347.tar.xz
libata: update ->data_xfer hook for ATAPI
Depending on how many bytes are transferred as a unit, PIO data transfer may consume more bytes than requested. Knowing how much data is consumed is necessary to determine how much is left for draining. This patch update ->data_xfer such that it returns the number of consumed bytes. While at it, it also makes the following changes. * s/adev/dev/ * use READ/WRITE constants for rw indication * misc clean ups Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'net/sunrpc/sched.c')
0 files changed, 0 insertions, 0 deletions