ceph: Don't forget the 'up_read(&osdc->map_sem)' if met error.
authormajianpeng <majianpeng@gmail.com>
Tue, 16 Jul 2013 11:36:21 +0000 (19:36 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Sep 2013 00:18:29 +0000 (17:18 -0700)
commit4f8e2fc10e249dcae05898f4807d9cc450b070bb
tree5ff11a8d9ac02996802e921ed31fdc1b51636463
parentfd5e2dea537bbf0bfb09f79a8b34c148bb502735
ceph: Don't forget the 'up_read(&osdc->map_sem)' if met error.

commit 494ddd11be3e2621096bb425eed2886f8e8446d4 upstream.

Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ceph/ioctl.c