[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Suspiciously broken filesystem



Nigel Metheringham wrote:
> 
> On 06 Jun 2001 21:09:48 +1000, Andrew Morton wrote:
> 
> > That's dangerous. The -ac kernels have a radically different set
> > of quota code.
> ...
> > So a simple merge of the 2.4.5 ext3 onto a -ac kernel
> > will double-account i_blocks increments and decrements.
> 
> Actually a simple merge doesn't compile - since many of the DQUOT calls
> have different numbers of parameters.
> 
> I did a minimal fixup on the quota calls, and built with quota
> configured off

Go into your -ac ext3 directory and run

	grep i_blocks *.c

The following lines should *not* appear:

inode.c:        inode->i_blocks += num * inode->i_sb->s_blocksize/512;
inode.c:        inode->i_blocks -= count * inode->i_sb->s_blocksize / 512;
inode.c:                        inode->i_blocks -= inode->i_sb->s_blocksize / 512;


I think - there may be others.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]