K 10 svn:author V 6 kevans K 8 svn:date V 27 2021-08-29T17:01:04.071328Z K 7 svn:log V 414 kern: mountroot: avoid fd leak in .md parsing parse_dir_md() opens /dev/mdctl but only closes the resulting fd on success, not upon failure of the ioctl or when we exceed the md unit max. Sponsored by: NetApp, Inc. Sponsored by: Klara, Inc. X-NetApp-PR: #62 (cherry picked from commit 23ecfa9d5bc4f04eb58e26018c2d15f032d5d742) Git Hash: 99992f383bff2d3293018965c9c747fbdcdd8d7f Git Author: kevans@FreeBSD.org END