Re: [PATCH 1/3] ufs: ufs_trunc_indirect: infinite cycle

Andrew Morton
2006-05-14T09:51:08Z

Evgeniy Dushistov <dushistov@mail.ru> wrote:
>
> The situation the same: in ufs_trunc_(not direct),
> we read block,
> check if count of links to it is equal to one,
> if so we finish cycle, if not continue.
> Because of "count of links" always >=2 this operation cause
> infinite cycle and hang up the kernel.

okay, but do we know what that code which you removed was actually intended
to do?

Do you know whether 2.4 kernels exhibit the same bug? If not, we might have
accidentally broken UFS at some stage.