]> 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)
commit8f4aa6d40fc3e1f6fb04010f6fe7d6983dac382a
treefcdc748ac9457010afaf69c8576a13cabc989ca1
parentbfee184c204b393b644297ac30476f7453e6f122
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