diff --git a/[refs] b/[refs] index 683a5cd983f0..fd3e530cad85 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5d861d920a86523bbeb56c19b9906c3fb1b58048 +refs/heads/master: 029e332ea717810172e965ec50f942755ad0c58a diff --git a/trunk/mm/readahead.c b/trunk/mm/readahead.c index 1ba736ac0367..23cb61a01c6e 100644 --- a/trunk/mm/readahead.c +++ b/trunk/mm/readahead.c @@ -173,6 +173,8 @@ static int read_pages(struct address_space *mapping, struct file *filp, if (mapping->a_ops->readpages) { ret = mapping->a_ops->readpages(filp, mapping, pages, nr_pages); + /* Clean up the remaining pages */ + put_pages_list(pages); goto out; }