From: Joel S. <jo...@jm...> - 2015-06-24 10:17:42
|
On Thu, Jun 18, 2015 at 5:54 AM, Nathan Fontenot <nf...@li...> wrote: >> >> + if (strlen(name) > MAX_PART_NAME) { >> + err_msg("partition name too long\n"); >> + return -1; >> + } >> + > > Any reason for not making this a function for here (and below) instead of > copying the code in every place? Not really. I will send a v2 tomorrow. Thanks for the review. Cheers, Joel |