[B.A.T.M.A.N.] [PATCH] batman-adv: Only fail in debugfs when kernel has debugfs support

Marek Lindner lindner_marek at yahoo.de
Sat May 22 14:56:50 CEST 2010


On Saturday 22 May 2010 19:58:20 Sven Eckelmann wrote:
> Linux allows to call debugfs related functions even when it is not
> compiled in. The return codes will always be failure return codes and we
> would fail to load the batman-adv module even when debugfs isn't a hard
> dependency.
> 
> We can simply return a success error code when the debugfs stub returned
> a error code and the kernel was compiled without debugfs support.

Applied in rev 1679. 

Thanks,
Marek


More information about the B.A.T.M.A.N mailing list