aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorJes Sorensen <[email protected]>2012-04-01 13:48:38 +0000
committerNeilBrown <[email protected]>2012-04-03 05:37:26 +0000
commit24b961f811a3e790a9b93604d2594bfb6cce4fa4 (patch)
tree8cde643f6d3d142538d8e2499e65b368f5320bcc /lib/mpi/mpi-inline.h
parentmd/raid5: fix handling of bad blocks during recovery. (diff)
downloadkernel-24b961f811a3e790a9b93604d2594bfb6cce4fa4.tar.gz
kernel-24b961f811a3e790a9b93604d2594bfb6cce4fa4.zip
md: Avoid OOPS when reshaping raid1 to raid0
raid1 arrays do not have the notion of chunk size. Calculate the largest chunk sector size we can use to avoid a divide by zero OOPS when aligning the size of the new array to the chunk size. Signed-off-by: Jes Sorensen <[email protected]> Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions