[PATCH] fuse: fix error case in fuse_readpages
authorAlexander Zarochentsev <zam@namesys.com>
Mon, 14 Aug 2006 06:24:27 +0000 (23:24 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 14 Aug 2006 19:54:29 +0000 (12:54 -0700)
commit1d7ea7324ae7a59f8e17e4ba76a2707c1e6f24d2
tree902b646ed70af86481a77a67582b79e67264a481
parent9b41ea7289a589993d3daabc61f999b4147872c4
[PATCH] fuse: fix error case in fuse_readpages

Don't let fuse_readpages leave the @pages list not empty when exiting
on error.

[akpm@osdl.org: kernel-doc fixes]
Signed-off-by: Alexander Zarochentsev <zam@namesys.com>
Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/fuse/file.c
include/linux/mm.h
mm/swap.c