summaryrefslogtreecommitdiff
path: root/fs/ceph/file.c
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2016-08-24 11:33:46 +0800
committerIlya Dryomov <idryomov@gmail.com>2016-10-03 16:13:49 +0200
commit1afe478569ba7414dde8a874dda9c1ea621c0c63 (patch)
tree1a4b24ecb88e64c8cb7d4870afd2a126655cdf6c /fs/ceph/file.c
parent0dcc685e7dd7190dcaa5435e9c14150f1d405b7b (diff)
ceph: fix error handling of start_read()
If start_page() fails to add a page to page cache or fails to send OSD request. It should cal put_page() (instead of free_page()) for relevant pages. Besides, start_page() need to cancel fscache readpage if it fails to send OSD request. Signed-off-by: Yan, Zheng <zyan@redhat.com> Reported-by: Zhi Zhang <zhang.david2011@gmail.com>
Diffstat (limited to 'fs/ceph/file.c')
0 files changed, 0 insertions, 0 deletions