summaryrefslogtreecommitdiff
path: root/fs/ceph/acl.c
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2017-08-04 06:22:31 +0300
committerIlya Dryomov <idryomov@gmail.com>2017-09-01 01:04:26 +0300
commitdd2bc473482eedc60c29cf00ad12568ce40ce511 (patch)
treee06527af35691390fce75993b0986cad10be1225 /fs/ceph/acl.c
parentcc4a41fe5541a73019a864883297bd5043aa6d98 (diff)
downloadlinux-dd2bc473482eedc60c29cf00ad12568ce40ce511.tar.xz
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>
Diffstat (limited to 'fs/ceph/acl.c')
0 files changed, 0 insertions, 0 deletions