The patch titled fuse: ->readpages() cleanup has been added to the -mm tree. Its filename is fuse-readpages-cleanup.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: fuse: ->readpages() cleanup From: OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> This just ignore the remaining pages. Signed-off-by: OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> Cc: Steven French <sfrench@xxxxxxxxxx> Cc: Miklos Szeredi <miklos@xxxxxxxxxx> Cc: Steven Whitehouse <swhiteho@xxxxxxxxxx> Cc: Trond Myklebust <trond.myklebust@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/fuse/file.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff -puN fs/fuse/file.c~fuse-readpages-cleanup fs/fuse/file.c --- a/fs/fuse/file.c~fuse-readpages-cleanup +++ a/fs/fuse/file.c @@ -397,14 +397,14 @@ static int fuse_readpages(struct file *f err = -EIO; if (is_bad_inode(inode)) - goto clean_pages_up; + goto out; data.file = file; data.inode = inode; data.req = fuse_get_req(fc); err = PTR_ERR(data.req); if (IS_ERR(data.req)) - goto clean_pages_up; + goto out; err = read_cache_pages(mapping, pages, fuse_readpages_fill, &data); if (!err) { @@ -413,10 +413,7 @@ static int fuse_readpages(struct file *f else fuse_put_request(fc, data.req); } - return err; - -clean_pages_up: - put_pages_list(pages); +out: return err; } _ Patches currently in -mm which might be from hirofumi@xxxxxxxxxxxxxxxxxx are nfs-fix-nfs_readpages-error-path.patch read_cache_pages-cleanup.patch cleanup-read_pages.patch cifs-readpages-fixes.patch fuse-readpages-cleanup.patch gfs2-readpages-fixes.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html