linux/fs/ceph
David Zafman 359c4ea7ba libceph: Unlock unprocessed pages in start_read() error path
Function start_read() can get an error before processing all pages.
It must not only release the remaining pages, but unlock them too.

This fixes http://tracker.newdream.net/issues/3370

Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
(cherry picked from commit 8884d53dd6)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-17 08:51:21 -08:00
..
addr.c libceph: Unlock unprocessed pages in start_read() error path 2013-01-17 08:51:21 -08:00
caps.c ceph: call handle_cap_grant() for cap import message 2013-01-17 08:51:21 -08:00
ceph_frag.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
debugfs.c libceph: delay debugfs initialization until we learn global_id 2012-11-26 11:38:43 -08:00
dir.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client 2012-02-02 15:47:33 -08:00
export.c tmpfs,ceph,gfs2,isofs,reiserfs,xfs: fix fh_len checking 2012-10-21 09:27:57 -07:00
file.c ceph: propagate layout error on osd request creation 2013-01-17 08:51:18 -08:00
inode.c ceph: Fix __ceph_do_pending_vmtruncate 2013-01-17 08:51:21 -08:00
ioctl.c ceph: use i_ceph_lock instead of i_lock 2011-12-07 10:46:44 -08:00
ioctl.h ceph: document ioctls 2011-10-25 16:10:15 -07:00
Kconfig ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
locks.c ceph: unwind canceled flock state 2011-06-07 21:36:45 -07:00
Makefile ceph: Makefile: Remove unnessary code 2011-01-12 15:15:13 -08:00
mds_client.c ceph: Fix infinite loop in __wake_requests 2013-01-17 08:51:21 -08:00
mds_client.h ceph: define ceph_auth_handshake type 2012-11-26 11:38:07 -08:00
mdsmap.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
snap.c ceph: fix overflow check in build_snap_context() 2012-03-22 10:47:45 -05:00
strings.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
super.c libceph: remove 'osdtimeout' option 2013-01-17 08:51:20 -08:00
super.h ceph: avoid repeatedly computing the size of constant vxattr names 2012-03-22 10:47:46 -05:00
xattr.c ceph: fix three bugs, two in ceph_vxattrcb_file_layout() 2012-03-22 10:47:52 -05:00