]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: Avoid to propagate the invalid page point
authorMinfei Huang <mnfhuang@gmail.com>
Sat, 19 Dec 2015 02:54:59 +0000 (10:54 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 21 Jan 2016 18:36:07 +0000 (19:36 +0100)
commit4cf1bd3a78255489edb36aa0d0befbba05b4bb68
treebb59f6a36aa562f331296762625518ff5888d668
parent8f4aa6d40fc3e1f6fb04010f6fe7d6983dac382a
ceph: Avoid to propagate the invalid page point

The variant pagep will still get the invalid page point, although ceph
fails in function ceph_update_writeable_page.

To fix this issue, Assigne the page to pagep until there is no failure
in function ceph_update_writeable_page.

Signed-off-by: Minfei Huang <mnfhuang@gmail.com>
Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/addr.c