[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230906171024.GB800259@ZenIV>
Date: Wed, 6 Sep 2023 18:10:24 +0100
From: Al Viro <viro@...iv.linux.org.uk>
To: Mikulas Patocka <mpatocka@...hat.com>
Cc: Christian Brauner <brauner@...nel.org>,
Zdenek Kabelac <zkabelac@...hat.com>,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
dm-devel@...hat.com, Jan Kara <jack@...e.cz>,
Christoph Hellwig <hch@....de>
Subject: Re: [PATCH] fix writing to the filesystem after unmount
On Wed, Sep 06, 2023 at 06:01:06PM +0200, Mikulas Patocka wrote:
> Perhaps we could distinguish between FIFREEZE-initiated freezes and
> device-mapper initiated freezes as well. And we could change the logic to
> return -EBUSY if the freeze was initiated by FIFREEZE and to wait for
> unfreeze if it was initiated by the device-mapper.
By the time you get to cleanup_mnt() it's far too late to return -EBUSY.
Powered by blists - more mailing lists