Tobias Stoeckmann 3b9f13937c depmod: remove strbuf_reserve_extra call
The strbuf_reserve_extra call is only left for a possible '/' addition,
which only occurs before depmod_modules_search_dir recursively calls
itself.

By adding the slash at the start, it also simplifies
depmod_modules_search_path which does not have to do this before calling
depmod_modules_search_dir on its own.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Link: https://github.com/kmod-project/kmod/pull/296
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
2025-03-06 22:57:37 -06:00
..
2014-10-09 01:26:34 -03:00
2025-02-18 15:42:17 -06:00
2025-02-21 13:49:01 -06:00
2024-10-23 22:10:39 -05:00