]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: fix double page_unlock() in page_mkwrite()
authorYan, Zheng <zyan@redhat.com>
Thu, 17 Dec 2015 07:36:39 +0000 (15:36 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 21 Jan 2016 18:36:07 +0000 (19:36 +0100)
commitc61f8590ea2efeaf1c2b483bc7db77abaaa855b4
treefcdc748ac9457010afaf69c8576a13cabc989ca1
parente69b773eb38196470e40e053d3db3017ce10559d
ceph: fix double page_unlock() in page_mkwrite()

ceph_update_writeable_page() unlocks the page on errors, so
page_mkwrite() should not unlock the page again.

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