]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit - fs/ufs/inode.c
[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)
commita685e26fff387db350966f88eaad515bf41c4705
treeaa32924e5641541df5e178908bf8e88fb9d2f508
parentff79544754631cf3d237ff47b7d0e7ab2d211fcf
[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