[PATCH] fs: fix automount when last filename component is a automountpoint
Sascha Hauer
s.hauer at pengutronix.de
Wed Dec 3 01:00:01 PST 2025
On Tue, 02 Dec 2025 10:22:56 +0100, Sascha Hauer wrote:
> When opening a directory in openat() as indicated with the O_DIRECTORY
> flag, pass the LOOKUP_DIRECTOY flag to filename_lookup() to make sure
> the target is actually a directory. By doing this we can skip the check
> afterwards.
>
> filename_lookup() only triggers the automount on the last component when
> the LOOKUP_DIRECTORY flag is set, so with this change when /mnt/mmc2.3/
> is a automountpoint a
>
> [...]
Applied, thanks!
[1/1] fs: fix automount when last filename component is a automountpoint
https://git.pengutronix.de/cgit/barebox/commit/?id=500df27eb054 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list