]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Restore backward compatibility for "attach" verb.
authordelphij <delphij@FreeBSD.org>
Tue, 30 Oct 2018 15:11:34 +0000 (15:11 +0000)
committerdelphij <delphij@FreeBSD.org>
Tue, 30 Oct 2018 15:11:34 +0000 (15:11 +0000)
commitf7a2109e2910c0062f5168f6733a87a139e30098
treefa9b24ad86635289f5732aee72999ec48bc50355
parent0bde0de004c3f7adb201f9d2f4003407571991c3
Restore backward compatibility for "attach" verb.

In r332361 and r333439, two new parameters were added to geli attach
verb using gctl_get_paraml, which requires the value to be present.
This would prevent old geli(8) binary from attaching geli(4) device
as they have no knowledge about the new parameters.

Restore backward compatibility by treating the absense of these two
values as seeing the default value supplied by userland.

PR: 232595
Reviewed by: oshogbo
Approved by: re (rgrimes)
sys/geom/eli/g_eli_ctl.c