From 2c8403a7c02e8515c6aace8aee3aad3362a38652 Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Wed, 3 Aug 2016 00:24:43 -0700 Subject: [PATCH] client: remove uid-based _create() Signed-off-by: Greg Farnum --- src/client/Client.h | 7 ------- 1 file changed, 7 deletions(-) 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); -- 2.47.3