diff options
author | Dimitri John Ledkov <xnox@ubuntu.com> | 2018-07-23 11:41:17 +0100 |
---|---|---|
committer | Dimitri John Ledkov <xnox@ubuntu.com> | 2018-07-23 11:41:17 +0100 |
commit | 3bed5265f9c792edfcd593eeaa93675711e5e264 (patch) | |
tree | 60fcbcc5048f276f07022b12d9b34245a6e8ae8d /Grow.c | |
parent | 9421e599c44cd50d3df4cd019cd3c53d9320e93d (diff) |
Cherrypick master patches up to 20th of July 2018. LP: #1781427
Diffstat (limited to 'Grow.c')
-rw-r--r-- | Grow.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -242,6 +242,7 @@ int Grow_Add_device(char *devname, int fd, char *newdev) if (st->ss->load_super(st, fd2, NULL)) { pr_err("cannot find super block on %s\n", dv); close(fd); + close(fd2); return 1; } info.array.raid_disks = nd+1; |