Re: [PATCH 3/3] ufs: rellocation fix

2007-01-25 Thread Evgeniy Dushistov
On Wed, Jan 24, 2007 at 08:21:07PM -0800, Andrew Morton wrote: > On Mon, 22 Jan 2007 18:07:51 +0300 > Evgeniy Dushistov <[EMAIL PROTECTED]> wrote: > > > - for (i = 0; i < count; i += blk_per_page) { > > + for (i = 0; i < count; i = (i | mask) + 1) { > > This is a funny looking thing. As far

Re: [PATCH 3/3] ufs: rellocation fix

2007-01-24 Thread Andrew Morton
On Mon, 22 Jan 2007 18:07:51 +0300 Evgeniy Dushistov <[EMAIL PROTECTED]> wrote: > In blocks reallocation function sometimes does not update some > of buffer_head::b_blocknr, which may and cause data damage. > > Signed-off-by: Evgeniy Dushistov <[EMAIL PROTECTED]> > > --- > > Index: linux-2.6.20

[PATCH 3/3] ufs: rellocation fix

2007-01-22 Thread Evgeniy Dushistov
In blocks reallocation function sometimes does not update some of buffer_head::b_blocknr, which may and cause data damage. Signed-off-by: Evgeniy Dushistov <[EMAIL PROTECTED]> --- Index: linux-2.6.20-rc5/fs/ufs/balloc.c === --- linu