Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment