diff options
author | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | 2006-11-03 07:07:06 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-11-03 21:27:56 +0100 |
commit | 029e332ea717810172e965ec50f942755ad0c58a (patch) | |
tree | dcffd8c8ad3229a3af603a4e59e43c05793c1617 /lib | |
parent | [PATCH] lkdtm: cleanup headers and module_param/MODULE_PARM_DESC (diff) | |
download | linux-029e332ea717810172e965ec50f942755ad0c58a.tar.xz linux-029e332ea717810172e965ec50f942755ad0c58a.zip |
[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 <hirofumi@mail.parknet.co.jp>
Cc: Steven French <sfrench@us.ibm.com>
Cc: Miklos Szeredi <miklos@szeredi.hu>
Cc: Steven Whitehouse <swhiteho@redhat.com>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions