]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ceph: handle ceph_osdc_new_request failure in ceph_writepages_start
authorHenry C Chang <henry.cy.chang@gmail.com>
Tue, 3 May 2011 09:45:16 +0000 (09:45 +0000)
committerSage Weil <sage@newdream.net>
Tue, 3 May 2011 16:28:12 +0000 (09:28 -0700)
commit8c71897be2ddfd84969412635ca42fa9e137f7b6
tree7403c84c264f1fd0110869bad68405fcaf6c80ba
parentca20892db7567c40e8ed0668f46cf0d085d7db6d
ceph: handle ceph_osdc_new_request failure in ceph_writepages_start

We should unlock the page and return -ENOMEM if ceph_osdc_new_request
failed.

Signed-off-by: Henry C Chang <henry_c_chang@tcloudcomputing.com>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/addr.c