archive mirror
 help / color / mirror / Atom feed
From: Jan Kara <>
To: Al Viro <>
Subject: Re: [RFC][PATCH] ext2: fix a block leak
Date: Wed, 23 May 2018 13:58:24 +0200	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Fri 18-05-18 01:06:25, Al Viro wrote:
> open file, unlink it, then use ioctl(2) to make it immutable or
> append only.  Now close it and watch the blocks *not* freed...
> Immutable/append-only checks belong in ->setattr().
> Note: the bug is old and backport to anything prior to 737f2e93b972
> ("ext2: convert to use the new truncate convention") will need
> these checks lifted into ext2_setattr().
> Cc:
> Signed-off-by: Al Viro <>

Sorry, I've been busy with other stuff after LSF/MM and then forgot about
this. Thanks for the patch! I've added the patch to my tree.

Jan Kara <>

  reply	other threads:[~2018-05-23 11:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-18  0:06 Al Viro
2018-05-23 11:58 ` Jan Kara [this message]
2018-05-23 14:24   ` Jan Kara

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \
    --subject='Re: [RFC][PATCH] ext2: fix a block leak' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).