]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
client: remove uid-based _create()
authorGreg Farnum <gfarnum@redhat.com>
Wed, 3 Aug 2016 07:24:43 +0000 (00:24 -0700)
committerGreg Farnum <gfarnum@redhat.com>
Wed, 21 Sep 2016 23:33:54 +0000 (16:33 -0700)
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
src/client/Client.h

index 54e0435528aac180a29dfa7283d69a4483b04ac7..18067d37a829b6ff45b2146e63947cdd411c8624 100644 (file)
@@ -816,13 +816,6 @@ private:
   int _create(Inode *in, const char *name, int flags, mode_t mode, InodeRef *inp,
              Fh **fhp, int stripe_unit, int stripe_count, int object_size,
              const char *data_pool, bool *created, const UserPerm &perms);
-  int _create(Inode *in, const char *name, int flags, mode_t mode, InodeRef *inp, Fh **fhp,
-              int stripe_unit, int stripe_count, int object_size, const char *data_pool,
-             bool *created, int uid, int gid) {
-    UserPerm perms(uid, gid);
-    return _create(in, name, flags, mode, inp, fhp, stripe_unit, stripe_count,
-           object_size, data_pool, created, perms);
-  }
 
   loff_t _lseek(Fh *fh, loff_t offset, int whence);
   loff_t _lseek(Fh *fh, loff_t offset, int whence, const UserPerm& perms);