From: Al Viro <viro@zeniv.linux.org.uk>
To: Christian Brauner <brauner@kernel.org>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH] fix a leak in fcntl_dirnotify()
Date: Mon, 14 Jul 2025 16:07:21 +0100 [thread overview]
Message-ID: <20250714150721.GG1880847@ZenIV> (raw)
In-Reply-To: <20250714-kniebeschwerden-wachdienst-66609223c4b5@brauner>
On Mon, Jul 14, 2025 at 10:14:38AM +0200, Christian Brauner wrote:
> On Sat, Jul 12, 2025 at 06:18:43PM +0100, Al Viro wrote:
> > [into #fixes, unless somebody objects]
> >
> > Lifetime of new_dn_mark is controlled by that of its ->fsn_mark,
> > pointed to by new_fsn_mark. Unfortunately, a failure exit had
> > been inserted between the allocation of new_dn_mark and the
> > call of fsnotify_init_mark(), ending up with a leak.
> >
> > Fixes: 1934b212615d "file: reclaim 24 bytes from f_owner"
> > Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
> > ---
>
> I'll grab this into vfs.fixes and send it with the batch I have in
> there this week.
OK... Again, the only things I've got in the vicinity are post-rc1
fodder, so I've no preferences re which branch does that go through.
prev parent reply other threads:[~2025-07-14 15:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-12 17:18 [PATCH] fix a leak in fcntl_dirnotify() Al Viro
2025-07-14 8:14 ` Christian Brauner
2025-07-14 15:07 ` Al Viro [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=20250714150721.GG1880847@ZenIV \
--to=viro@zeniv.linux.org.uk \
--cc=brauner@kernel.org \
--cc=linux-fsdevel@vger.kernel.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