diff options
author | Luis Henriques <lhenriques@suse.com> | 2018-10-15 17:45:57 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2018-10-22 10:28:23 +0200 |
commit | 2ee9dd958d474252510b8c4dc216aa1dab7ad272 (patch) | |
tree | 176b6bb4260127b5c1ea310c5e742dfc2785f1af /net/ceph/osd_client.c | |
parent | libceph: check reply num_data_items in setup_request_data() (diff) | |
download | linux-2ee9dd958d474252510b8c4dc216aa1dab7ad272.tar.xz linux-2ee9dd958d474252510b8c4dc216aa1dab7ad272.zip |
ceph: add non-blocking parameter to ceph_try_get_caps()
ceph_try_get_caps currently calls try_get_cap_refs with the nonblock
parameter always set to 'true'. This change adds a new parameter that
allows to set it's value. This will be useful for a follow-up patch that
will need to get two sets of capabilities for two different inodes without
risking a deadlock.
Signed-off-by: Luis Henriques <lhenriques@suse.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'net/ceph/osd_client.c')
0 files changed, 0 insertions, 0 deletions