diff options
author | Jeff Layton <jlayton@kernel.org> | 2019-04-02 09:24:36 -0400 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-05-07 19:22:37 +0200 |
commit | 86bda539fa90184ca404afb38cd015416bf81d15 (patch) | |
tree | dca133d40dbb83dd021cee98ca56ee2c24ea2166 /fs/ceph/xattr.c | |
parent | 111c708104506d53bb1845c782cfd98157471e32 (diff) | |
download | linux-86bda539fa90184ca404afb38cd015416bf81d15.tar.bz2 |
ceph: have ceph_mdsc_do_request call ceph_mdsc_submit_request
Nothing calls ceph_mdsc_submit_request today, but in later patches we'll
need to be able to call this separately.
Have the helper return an int so we can check the r_err under the mutex,
and have the caller just check the error code from the submit. Also move
the acquisition of CEPH_CAP_PIN references into the same function.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/xattr.c')
0 files changed, 0 insertions, 0 deletions