diff options
author | Jeff Layton <jlayton@kernel.org> | 2020-12-08 11:24:09 -0500 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2020-12-14 23:21:48 +0100 |
commit | 7fe0cdeb0f88988dce8a77e963d15539abba1f18 (patch) | |
tree | 714e88b5d4ef4d6e90b9e020e5486dcd5fe86bb4 /fs/quota | |
parent | 0f51a983616c22a56d231950812f895e46dae256 (diff) | |
download | linux-stable-7fe0cdeb0f88988dce8a77e963d15539abba1f18.tar.gz linux-stable-7fe0cdeb0f88988dce8a77e963d15539abba1f18.tar.bz2 linux-stable-7fe0cdeb0f88988dce8a77e963d15539abba1f18.zip |
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 'fs/quota')
0 files changed, 0 insertions, 0 deletions