From: Evgeniy Dushistov Date: Sat, 5 Aug 2006 19:13:57 +0000 (-0700) Subject: [PATCH] ufs: handle truncated pages X-Git-Tag: v2.6.18-rc4~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06fa45d3a19c6fbfccbf295e9f08087492338631;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed