summaryrefslogtreecommitdiffstats
path: root/fs/ceph/addr.c
diff options
context:
space:
mode:
authorChengguang Xu <cgxu519@gmx.com>2018-07-28 17:15:35 +0200
committerIlya Dryomov <idryomov@gmail.com>2018-08-13 17:55:43 +0200
commit7bf8f736c8e0f2e854d41838eed12e317fb29963 (patch)
treeacc1000d6ea75354e23d00a6e45c9f9ae337cde8 /fs/ceph/addr.c
parentceph: change to void return type for __do_request() (diff)
downloadlinux-7bf8f736c8e0f2e854d41838eed12e317fb29963.tar.xz
linux-7bf8f736c8e0f2e854d41838eed12e317fb29963.zip
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 'fs/ceph/addr.c')
0 files changed, 0 insertions, 0 deletions