Skip to content
Commit 10433d04 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe
Browse files

raid5: remove a call to get_start_sect



The block layer always remaps partitions before calling into the
->make_request methods of drivers.  Thus the call to get_start_sect in
in_chunk_boundary will always return 0 and can be removed.

Reviewed-by: default avatarShaohua Li <shli@fb.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent f8f84b2d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment