diff options
author | Yan, Zheng <[email protected]> | 2017-08-04 11:22:31 +0800 |
---|---|---|
committer | Ilya Dryomov <[email protected]> | 2017-09-01 00:04:26 +0200 |
commit | dd2bc473482eedc60c29cf00ad12568ce40ce511 (patch) | |
tree | e06527af35691390fce75993b0986cad10be1225 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | cc4a41fe5541a73019a864883297bd5043aa6d98 (diff) |
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: [email protected] # 4.1+, needs backporting for < 4.7
Signed-off-by: "Yan, Zheng" <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions