commit | e5bc08d09f5fac5cd2901f34b510e67c524894ab | [log] [tgz] |
---|---|---|
author | Chengguang Xu <cgxu519@gmx.com> | Sat Jul 28 23:15:37 2018 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Aug 13 17:55:44 2018 +0200 |
tree | c7fe2100c9064e0e3cef020b9cbe0bbd4d1d60ab | |
parent | 7bf8f736c8e0f2e854d41838eed12e317fb29963 [diff] |
ceph: refactor error handling code in ceph_reserve_caps() Call new helper __ceph_unreserve_caps() to reduce duplicated code. Signed-off-by: Chengguang Xu <cgxu519@gmx.com> Reviewed-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>