]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
libcephfs: repeatedly use new default_perms instead of pick_my_perms()
authorGreg Farnum <gfarnum@redhat.com>
Mon, 12 Sep 2016 23:10:02 +0000 (16:10 -0700)
committerGreg Farnum <gfarnum@redhat.com>
Wed, 21 Sep 2016 23:33:57 +0000 (16:33 -0700)
commite35d0278c192deede7c6bdfccd8c081f03400476
tree19bbb0f6370fab2be907ab5af112919729f2c6b7
parent24279ef8aaf7ea898df0514891fdb71d78043e6c
libcephfs: repeatedly use new default_perms instead of pick_my_perms()

There's no need to invoke it each time for library-using clients. Either they've
set the default uid/gid or they haven't, and they aren't going to be switching
dynamic uid/gid a bunch either. (Right? Anyway, we want them to use the
not-here-yet functions specifying uid/gid on each call.)

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
src/libcephfs.cc