diff options
author | Chengguang Xu | 2018-07-28 23:15:35 +0800 |
---|---|---|
committer | Ilya Dryomov | 2018-08-13 17:55:43 +0200 |
commit | 7bf8f736c8e0f2e854d41838eed12e317fb29963 (patch) | |
tree | acc1000d6ea75354e23d00a6e45c9f9ae337cde8 /scripts/coccinelle | |
parent | d5548492902967dd088bd0a21df7d047df10f9f6 (diff) |
ceph: refactor ceph_unreserve_caps()
The code of ceph_unreserve_caps() and error handling in
ceph_reserve_caps() are duplicated, so introduce a 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>
Diffstat (limited to 'scripts/coccinelle')
0 files changed, 0 insertions, 0 deletions