[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202310111451303518442@zte.com.cn>
Date: Wed, 11 Oct 2023 14:51:30 +0800 (CST)
From: <cheng.lin130@....com.cn>
To: <hch@...radead.org>
Cc: <david@...morbit.com>, <djwong@...nel.org>,
<linux-xfs@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<jiang.yong5@....com.cn>, <wang.liang82@....com.cn>,
<liu.dong3@....com.cn>
Subject: Re: [PATCH v6] xfs: introduce protection for drop nlink
> On Tue, Oct 10, 2023 at 10:09:01AM +0800, cheng.lin130@....com.cn wrote:
> > From: Cheng Lin <cheng.lin130@....com.cn>
> >
> > When abnormal drop_nlink are detected on the inode,
> > return error, to avoid corruption propagation.
> I know this has been through a few cycles, but wouldn't it be useful
> to have at least a little description here how that case could happen?
Unfortunately, I don't know how the underflow happened. The purpose
of this patch is to prevent the situation from getting worse and provide
users can repair it at the appropriate moment afterwards.
Powered by blists - more mailing lists