From: Greg Farnum Date: Wed, 3 Aug 2016 07:24:43 +0000 (-0700) Subject: client: remove uid-based _create() X-Git-Tag: v11.0.1~36^2~32 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2c8403a7c02e8515c6aace8aee3aad3362a38652;p=ceph.git client: remove uid-based _create() Signed-off-by: Greg Farnum --- diff --git a/src/client/Client.h b/src/client/Client.h index 54e0435528aa..18067d37a829 100644 --- a/src/client/Client.h +++ b/src/client/Client.h @@ -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);