mirror of https://github.com/torvalds/linux.git
Fix up the divisor calculating the number of zone sectors being read and
handle a read that straddles the zone write pointer. The length is
rounded up a sector boundary, so be sure to truncate any excess bytes
off to avoid copying past the data segment.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| main.c | ||
| null_blk.h | ||
| trace.c | ||
| trace.h | ||
| zoned.c | ||