diff options
author | Christoph Hellwig <hch@lst.de> | 2017-08-23 19:10:28 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-08-23 12:49:49 -0600 |
commit | 10433d04b8e647a50feffec72fd3cf40ce42b084 (patch) | |
tree | 39ad0c086e96568043919437f5571bc223b3033c /block/genhd.c | |
parent | f8f84b2dfda5a74c56536a9e9092d2a5d761db78 (diff) | |
download | lwn-10433d04b8e647a50feffec72fd3cf40ce42b084.tar.gz lwn-10433d04b8e647a50feffec72fd3cf40ce42b084.zip |
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: Shaohua Li <shli@fb.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions