]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] ufs: handle truncated pages
authorEvgeniy Dushistov <dushistov@mail.ru>
Sat, 5 Aug 2006 19:13:57 +0000 (12:13 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 6 Aug 2006 15:57:46 +0000 (08:57 -0700)
commit06fa45d3a19c6fbfccbf295e9f08087492338631
tree24cc6843b98272e8ef5a8a1c78ef5b452f4a2d84
parent1fb32b7bd8203d0175649a75ede3ee7634d6a941
[PATCH] ufs: handle truncated pages

ufs_get_locked_page is called twice in ufs code, one time in ufs_truncate
path(we allocated last block), and another time when fragments are
reallocated.  In ideal world in the second case on allocation/free block
layer we should not know that things like `truncate' exists, but now with
such crutch like ufs_get_locked_page we can (or should?) skip truncated
pages.

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