summaryrefslogtreecommitdiffstats
path: root/fs/ceph/xattr.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2019-04-02 09:24:36 -0400
committerIlya Dryomov <idryomov@gmail.com>2019-05-07 19:22:37 +0200
commit86bda539fa90184ca404afb38cd015416bf81d15 (patch)
treedca133d40dbb83dd021cee98ca56ee2c24ea2166 /fs/ceph/xattr.c
parent111c708104506d53bb1845c782cfd98157471e32 (diff)
downloadlinux-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