[PATCH] automount: check for recursive automount
Rolf Evers-Fischer
embedded24 at evers-fischer.de
Thu Jul 3 01:34:37 PDT 2014
Hi Sascha,
Sascha Hauer <s.hauer at ...> wrote:
> + static int in_automount;
> +
> + if (in_automount)
> + return;
It seems that we are using the 'in_automount' without initialization.
Shouldn't we initialize the static 'in_automount' with 0? Or can we rely
on the compiler, that all statics will be initialized with zeros?
Best regards,
Rolf
More information about the barebox
mailing list