[PATCH] ufs: prepare write + change blocks on the fly
authorEvgeniy Dushistov <dushistov@mail.ru>
Fri, 16 Mar 2007 21:38:08 +0000 (13:38 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 17 Mar 2007 02:25:03 +0000 (19:25 -0700)
commit5431bf97ce69065ed07de1ff12543d0800817b83
treeb3c0753824a360282bb07adefd61956829d6999a
parent2189850f42beff23af32d847bd043cd1d1811a80
[PATCH] ufs: prepare write + change blocks on the fly

This fixes "change blocks numbers on the fly" in case when "prepare
write page" is in the call chain, in this case some buffers may be not
uptodate and not mapped, we should care to map them and load from disk.

This patch was tested with:
 - ufs regressions simple tests
 - fsx-linux
 - ltp(20060306)
 - untar and build kernel

Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ufs/balloc.c