[PATCH 0/2] Add and use file_exists() helper

Sascha Hauer s.hauer at pengutronix.de
Mon Nov 2 01:40:03 PST 2026


On Fri, 30 Oct 2026 08:16:20 +0100, Sascha Hauer wrote:
> Many places use stat() only to test for existence of a file without being
> interested in the struct stat returned. Add a convenience helper for that
> and convert users throughout the tree.
> 
> 

Applied, thanks!

[1/2] libfile: add file_exists() helper
      https://git.pengutronix.de/cgit/barebox/commit/?id=f982798e8039 (link may not be stable)
[2/2] treewise: use file_exists()
      https://git.pengutronix.de/cgit/barebox/commit/?id=034bba84bfee (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list