mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>,
	 Sascha Hauer <s.hauer@pengutronix.de>
Subject: Re: [PATCH] fs: Do not mntput() the root device parent
Date: Fri, 17 Apr 2026 10:03:31 +0200	[thread overview]
Message-ID: <177641301190.107522.14886044130174848836.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20260415130854.3826102-1-s.hauer@pengutronix.de>


On Wed, 15 Apr 2026 15:08:54 +0200, Sascha Hauer wrote:
> The vfs rootfs ("/") parent points to itself, so do not call mntput() on
> the parent when it's the root device as the reference counter would
> become negative.
> 
> This doesn't happen in normal configurations as we normally have a ramfs
> mounted at / and we leave fs_remove() early in that case. Some xload
> configurations have a FAT from SD/eMMC mounted at / though which leads
> to a "refcount for mount \"%s\" becomes negative\n" warning.
> 
> [...]

Applied, thanks!

[1/1] fs: Do not mntput() the root device parent
      https://git.pengutronix.de/cgit/barebox/commit/?id=e0bf33757b78 (link may not be stable)

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




      parent reply	other threads:[~2026-04-17  8:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-15 13:08 Sascha Hauer
2026-04-15 13:21 ` Ahmad Fatoum
2026-04-17  8:03 ` 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=177641301190.107522.14886044130174848836.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