Re: [PATCH] update i_blocks on UFS

From: Evgeniy Dushistov
Date: Sun May 13 2012 - 18:16:39 EST

On Sun, May 13, 2012 at 03:52:46PM +0200, Vladimir 'Ï-coder/phcoder' Serbinenko wrote:
> UFS code dosn't update i_blocks which leads to the problems ranging from wrong
> stat/du to long symlinks (as opposed to inline ones) being damaged. This is
> a fix.

Yes, when quota support was removed, code that update statistic
about usage of blocks also was removed. But why so big change to fix this?
I found this problem some time ago and fixed it with code bellow,
but may be I missed something?