[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJFzNq5Qwb3o5WHSq2c_k3-Nj1KTbcLQL-L6e03o+nZvRxpoVA@mail.gmail.com>
Date: Fri, 16 May 2025 15:08:01 +0300
From: Kitotavrik <kitotavrik.s@...il.com>
To: Jan Kara <jack@...e.cz>
Cc: Christian Brauner <brauner@...nel.org>, "Matthew Wilcox (Oracle)" <willy@...radead.org>,
Josef Bacik <josef@...icpanda.com>, NeilBrown <neilb@...e.de>, linux-kernel@...r.kernel.org,
lvc-project@...uxtesting.org, stable@...r.kernel.org
Subject: Re: [PATCH v3] fs: minix: Fix handling of corrupted directories
No, because the live directory has nlinks = 2 when deleted. But if I
understand correctly, it's worth adding a check for parent
directory(dir->i_nlinks <= 2)
Powered by blists - more mailing lists