summaryrefslogtreecommitdiff
path: root/drivers/md/md.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-05-26 02:41:08 (GMT)
committerNeilBrown <neilb@suse.de>2009-05-26 02:41:08 (GMT)
commit848b3182365fdf5a05bcd5ed949071cac2c894b3 (patch)
treecfb09457f8d8d582d443a92c2a47f1f9862a2036 /drivers/md/md.c
parentb6a9ce688f613e2ee5f15e6720e0bb8520efc36e (diff)
downloadlinux-fsl-qoriq-848b3182365fdf5a05bcd5ed949071cac2c894b3.tar.xz
md: raid5: avoid sector values going negative when testing reshape progress.
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 <neilb@suse.de>
Diffstat (limited to 'drivers/md/md.c')
0 files changed, 0 insertions, 0 deletions