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)
committerSage Weil <sage@inktank.com>
Sat, 10 Aug 2013 00:49:39 +0000 (17:49 -0700)
commit494ddd11be3e2621096bb425eed2886f8e8446d4
tree5864a4be34d680b914cdfac5a3348728e5d8f9a0
parent8b8cf8917f9b5d74e04f281272d8719ce335a497
ceph: Don't forget the 'up_read(&osdc->map_sem)' if met error.

CC: stable@vger.kernel.org
Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
Reviewed-by: Sage Weil <sage@inktank.com>
fs/ceph/ioctl.c