remarkable-linux/drivers/s390
Matthew Wilcox dd22f551ac block: Change direct_access calling convention
In order to support accesses to larger chunks of memory, pass in a
'size' parameter (counted in bytes), and return the amount available at
that address.

Add a new helper function, bdev_direct_access(), to handle common
functionality including partition handling, checking the length requested
is positive, checking for the sector being page-aligned, and checking
the length of the request does not pass the end of the partition.

Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Boaz Harrosh <boaz@plexistor.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2015-01-13 21:58:11 -07:00
..
block block: Change direct_access calling convention 2015-01-13 21:58:11 -07:00
char Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
cio s390/eadm: change timeout value 2014-12-08 09:42:42 +01:00
crypto crypto: prefix module autoloading with "crypto-" 2014-11-24 22:43:57 +08:00
kvm virtio_ccw: finalize_features error handling 2014-12-09 21:42:06 +02:00
net ctcm: replace sscanf by kstrto function 2014-10-26 22:21:40 -04:00
scsi scsi: drop reason argument from ->change_queue_depth 2014-11-24 14:45:27 +01:00
Makefile