]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: allow UserPerm constructor to populate gid list
authorJeff Layton <jlayton@redhat.com>
Mon, 24 Oct 2016 14:02:58 +0000 (10:02 -0400)
committerJeff Layton <jlayton@redhat.com>
Tue, 25 Oct 2016 17:05:15 +0000 (13:05 -0400)
commit6b65e86fb8b4c655f4e3a6404c91be08b34bfc82
tree9c9f8554ccde09d642b6201ff697a29fa93f5273
parentce8c6f3c9f9f35b7458ab95d9affc9ed4712d0eb
client: allow UserPerm constructor to populate gid list

Add args for the gids_count and gids list, and give them default
values so that callers can populate it correctly. We'll need this
for ganesha so it can populate the UserPerm from a RPC AUTH object.

Note that the gidlist pointer must be valid for the lifetime of
the created object!

Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/client/UserPerm.h