From: Jeff Layton Date: Wed, 12 Oct 2016 11:04:41 +0000 (-0400) Subject: client: remove vestigial uid and gid params from path_walk X-Git-Tag: v11.1.0~625^2~11 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7ea6d86fa8d2f079df86de96c6ffb27b5259039f;p=ceph.git client: remove vestigial uid and gid params from path_walk Signed-off-by: Jeff Layton --- diff --git a/src/client/Client.cc b/src/client/Client.cc index 5de2b22cbbc2..1d74c1b511dd 100644 --- a/src/client/Client.cc +++ b/src/client/Client.cc @@ -6047,8 +6047,7 @@ int Client::get_or_create(Inode *dir, const char* name, } int Client::path_walk(const filepath& origpath, InodeRef *end, - const UserPerm& perms, bool followsym, - int mask, int uid, int gid) + const UserPerm& perms, bool followsym, int mask) { filepath path = origpath; InodeRef cur; diff --git a/src/client/Client.h b/src/client/Client.h index cf5b5359c61c..9cb4a693e522 100644 --- a/src/client/Client.h +++ b/src/client/Client.h @@ -516,7 +516,7 @@ protected: // path traversal for high-level interface InodeRef cwd; int path_walk(const filepath& fp, InodeRef *end, const UserPerm& perms, - bool followsym=true, int mask=0, int uid=-1, int gid=-1); + bool followsym=true, int mask=0); int fill_stat(Inode *in, struct stat *st, frag_info_t *dirstat=0, nest_info_t *rstat=0); int fill_stat(InodeRef& in, struct stat *st, frag_info_t *dirstat=0, nest_info_t *rstat=0) {