From 7ea6d86fa8d2f079df86de96c6ffb27b5259039f Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Wed, 12 Oct 2016 07:04:41 -0400 Subject: [PATCH] client: remove vestigial uid and gid params from path_walk Signed-off-by: Jeff Layton --- src/client/Client.cc | 3 +-- src/client/Client.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/client/Client.cc b/src/client/Client.cc index 5de2b22cbbc2b..1d74c1b511dda 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 cf5b5359c61ca..9cb4a693e5226 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) { -- 2.39.5