aboutsummaryrefslogtreecommitdiff
path: root/scripts/coccinelle
diff options
context:
space:
mode:
authorChengguang Xu2018-07-28 23:15:35 +0800
committerIlya Dryomov2018-08-13 17:55:43 +0200
commit7bf8f736c8e0f2e854d41838eed12e317fb29963 (patch)
treeacc1000d6ea75354e23d00a6e45c9f9ae337cde8 /scripts/coccinelle
parentd5548492902967dd088bd0a21df7d047df10f9f6 (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