]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ufs: alloc metadata null page fix
authorEvgeniy Dushistov <dushistov@mail.ru>
Mon, 29 Jan 2007 21:19:54 +0000 (13:19 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 30 Jan 2007 16:26:45 +0000 (08:26 -0800)
commite12e86abeba2304ad6053fd712d3c07726204a95
treeaa32924e5641541df5e178908bf8e88fb9d2f508
parent297935fad3e9b1ba7c7736a1b59a6dee3ebba10d
[PATCH] ufs: alloc metadata null page fix

These series of patches result of UFS1 write support stress testing, like
running fsx-linux, untar and build linux kernel etc

We pass from ufs::get_block_t to levels below: pointer to the current page, to
make possible things like reallocation of blocks on the fly, and we also uses
this pointer for indication, what actually we allocate data block or meta data
block, but currently we make decision about what we allocate on the wrong
level, this may and cause oops if we allocate blocks in some special order.

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