aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-map.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2008-08-15 10:56:11 +0200
committerJens Axboe <jens.axboe@oracle.com>2008-10-09 08:56:03 +0200
commit5b99c2ffa980528a197f26c7d876cceeccce8dd5 (patch)
tree65e3bbbccb3f796f0569c47fcfc00e222cd3066e /block/blk-map.c
parentblock: raid fixups for removal of bi_hw_segments (diff)
downloadlinux-dev-5b99c2ffa980528a197f26c7d876cceeccce8dd5.tar.xz
linux-dev-5b99c2ffa980528a197f26c7d876cceeccce8dd5.zip
block: make bi_phys_segments an unsigned int instead of short
raid5 can overflow with more than 255 stripes, and we can increase it to an int for free on both 32 and 64-bit archs due to the padding. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/blk-map.c')
0 files changed, 0 insertions, 0 deletions