aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/block/aoe/aoecmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/block/aoe/aoecmd.c b/drivers/block/aoe/aoecmd.c
index b49e06ef121e..7a9618313ea3 100644
--- a/drivers/block/aoe/aoecmd.c
+++ b/drivers/block/aoe/aoecmd.c
@@ -698,6 +698,8 @@ ataid_complete(struct aoedev *d, struct aoetgt *t, unsigned char *id)
698 d->fw_ver, (long long)ssize); 698 d->fw_ver, (long long)ssize);
699 d->ssize = ssize; 699 d->ssize = ssize;
700 d->geo.start = 0; 700 d->geo.start = 0;
701 if (d->flags & (DEVFL_GDALLOC|DEVFL_NEWSIZE))
702 return;
701 if (d->gd != NULL) { 703 if (d->gd != NULL) {
702 d->gd->capacity = ssize; 704 d->gd->capacity = ssize;
703 d->flags |= DEVFL_NEWSIZE; 705 d->flags |= DEVFL_NEWSIZE;