Re: [PATCH] automount: check for recursive automount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sascha,

Sascha Hauer <s.hauer@...> 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

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux