summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2020-12-08 19:24:09 +0300
committerIlya Dryomov <idryomov@gmail.com>2020-12-15 01:21:48 +0300
commit7fe0cdeb0f88988dce8a77e963d15539abba1f18 (patch)
tree714e88b5d4ef4d6e90b9e020e5486dcd5fe86bb4 /usr
parent0f51a983616c22a56d231950812f895e46dae256 (diff)
downloadlinux-7fe0cdeb0f88988dce8a77e963d15539abba1f18.tar.xz
ceph: take a cred reference instead of tracking individual uid/gid
Replace req->r_uid/r_gid with an r_cred pointer and take a reference to that at the point where we previously would sample the two. Use that to populate the uid and gid in the header and release the reference when the request is freed. This should enable us to later add support for sending supplementary group lists in MDS requests. [ idryomov: break unnecessarily long lines ] Signed-off-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: Xiubo Li <xiubli@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions