]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
client/Client.cc: init owner_uid and owner_gid vars in ctor
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 3 Feb 2016 11:26:01 +0000 (12:26 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 19 Feb 2016 11:50:35 +0000 (12:50 +0100)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/client/Client.cc

index 1abeb2a5aba4992782459e5e3b6cfba3f8180336..7733f627dee1c10a1c715e413bab5012f05891fe 100644 (file)
@@ -171,8 +171,8 @@ bool Client::CommandHook::call(std::string command, cmdmap_t& cmdmap,
 // -------------
 
 dir_result_t::dir_result_t(Inode *in)
-  : inode(in), offset(0), this_offset(2), next_offset(2),
-    release_count(0), ordered_count(0), start_shared_gen(0),
+  : inode(in), owner_uid(-1), owner_gid(-1), offset(0), this_offset(2),
+    next_offset(2), release_count(0), ordered_count(0), start_shared_gen(0),
     buffer(0) {
 }