Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
md: raid5: avoid sector values going negative when testing reshape pr…
…ogress. As sector_t in unsigned, we cannot afford to let 'safepos' etc go negative. So replace a -= b; by a -= min(b,a); Signed-off-by: NeilBrown <[email protected]>
- Loading branch information