From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>,
Sascha Hauer <s.hauer@pengutronix.de>
Subject: Re: [PATCH 1/2] fs: unreference path on file close
Date: Thu, 12 Jun 2025 09:39:36 +0200 [thread overview]
Message-ID: <174971397642.65590.7073719085618714602.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20250611115635.3341350-1-s.hauer@pengutronix.de>
On Wed, 11 Jun 2025 13:56:34 +0200, Sascha Hauer wrote:
> Since commit 83ffe89840e8 ("fs: use filename_create/filename_lookup
> instead of open-coding") we no longer open-code the file lookup during
> openat(). Unlike the open-coded variant filename_lookup() keeps a
> reference to the file which is now leaked and the filesystem cannot be
> unmounted anymore:
>
> umount: Device or resource busy
>
> [...]
Applied, thanks!
[1/2] fs: unreference path on file close
https://git.pengutronix.de/cgit/barebox/commit/?id=a3ef153fdf26 (link may not be stable)
[2/2] fs: unreference path in canonicalize_path()
https://git.pengutronix.de/cgit/barebox/commit/?id=aef3b0134519 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
prev parent reply other threads:[~2025-06-12 8:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-11 11:56 Sascha Hauer
2025-06-11 11:56 ` [PATCH 2/2] fs: unreference path in canonicalize_path() Sascha Hauer
2025-06-12 7:39 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=174971397642.65590.7073719085618714602.b4-ty@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox