From: OGAWA Hirofumi Date: Fri, 3 Nov 2006 06:07:06 +0000 (-0800) Subject: [PATCH] Cleanup read_pages() X-Git-Tag: v2.6.19-rc5~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=029e332ea717810172e965ec50f942755ad0c58a;p=pandora-kernel.git [PATCH] Cleanup read_pages() Current read_pages() assume ->readpages() frees the passed pages. This patch free the pages in ->read_pages(), if those were remaining in the pages_list. So, readpages() just can ignore the remaining pages in pages_list. Signed-off-by: OGAWA Hirofumi Cc: Steven French Cc: Miklos Szeredi Cc: Steven Whitehouse Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed