]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
client: remove vestigial uid and gid params from path_walk
authorJeff Layton <jlayton@redhat.com>
Wed, 12 Oct 2016 11:04:41 +0000 (07:04 -0400)
committerJeff Layton <jlayton@redhat.com>
Wed, 12 Oct 2016 11:04:41 +0000 (07:04 -0400)
Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/client/Client.cc
src/client/Client.h

index 5de2b22cbbc2b35d9176addf47c624077b648a89..1d74c1b511dda4b5079a3ffbe111bf014d1d28eb 100644 (file)
@@ -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;
index cf5b5359c61ca3f6ae2cdde1d3f34ff074dda653..9cb4a693e52264cfdaab6a1c641245d920591788 100644 (file)
@@ -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) {