linux/fs/ceph
Yan, Zheng dd2bc47348 ceph: fix readpage from fscache
ceph_readpage() unlocks page prematurely prematurely in the case
that page is reading from fscache. Caller of readpage expects that
page is uptodate when it get unlocked. So page shoule get locked
by completion callback of fscache_read_or_alloc_pages()

Cc: stable@vger.kernel.org # 4.1+, needs backporting for < 4.7
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-09-01 00:04:26 +02:00
..
acl.c ceph: unify inode i_ctime update 2017-06-14 19:37:23 +02:00
addr.c ceph: fix readpage from fscache 2017-09-01 00:04:26 +02:00
cache.c ceph: fix readpage from fscache 2017-09-01 00:04:26 +02:00
cache.h ceph: improve fscache revalidation 2016-06-01 10:31:50 +02:00
caps.c ceph: avoid accessing freeing inode in ceph_check_delayed_caps() 2017-07-07 17:25:13 +02:00
ceph_frag.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
debugfs.c The two main items are support for disabling automatic rbd exclusive 2017-05-10 08:42:33 -07:00
dir.c ceph: fix race in concurrent readdir 2017-07-17 14:54:59 +02:00
export.c ceph: check i_nlink while converting a file handle to dentry 2017-06-14 19:32:43 +02:00
file.c ceph: update the 'approaching max_size' code 2017-07-07 17:25:12 +02:00
inode.c ceph: update ceph_dentry_info::lease_session when necessary 2017-07-07 17:25:14 +02:00
ioctl.c ceph: fix bogus endianness change in ceph_ioctl_set_layout 2017-02-20 12:16:07 +01:00
ioctl.h ceph: fully initialize new layout 2012-05-16 14:28:27 -05:00
Kconfig ceph: add acl for cephfs 2013-12-31 20:32:01 +02:00
locks.c ceph: don't re-send interrupted flock request 2017-07-07 17:25:13 +02:00
Makefile ceph: add acl for cephfs 2013-12-31 20:32:01 +02:00
mds_client.c ceph: avoid invalid memory dereference in the middle of umount 2017-07-07 17:25:13 +02:00
mds_client.h ceph: handle epoch barriers in cap messages 2017-05-04 09:19:21 +02:00
mdsmap.c ceph: allow connecting to mds whose rank >= mdsmap::m_max_mds 2017-05-04 09:19:20 +02:00
snap.c ceph: convert ceph_cap_snap.nref from atomic_t to refcount_t 2017-05-04 09:19:18 +02:00
strings.c ceph: handle CEPH_SESSION_REJECT message 2016-10-03 16:13:50 +02:00
super.c ceph: new mount option that specifies fscache uniquifier 2017-07-07 17:25:14 +02:00
super.h ceph: new mount option that specifies fscache uniquifier 2017-07-07 17:25:14 +02:00
xattr.c ceph: getattr before read on ceph.* xattrs 2017-07-07 17:25:13 +02:00