summaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r--drivers/md/md.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 0ddf38988fbc..34846856dbc6 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -8343,7 +8343,7 @@ static int md_clear_badblocks(struct badblocks *bb, sector_t s, int sectors)
8343 if (a < s) { 8343 if (a < s) {
8344 /* we need to split this range */ 8344 /* we need to split this range */
8345 if (bb->count >= MD_MAX_BADBLOCKS) { 8345 if (bb->count >= MD_MAX_BADBLOCKS) {
8346 rv = 0; 8346 rv = -ENOSPC;
8347 goto out; 8347 goto out;
8348 } 8348 }
8349 memmove(p+lo+1, p+lo, (bb->count - lo) * 8); 8349 memmove(p+lo+1, p+lo, (bb->count - lo) * 8);