]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds/MDCache.h: init some members of open_ino_info_t in ctor
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 12 Jun 2015 08:39:14 +0000 (10:39 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 17 Jul 2015 08:50:44 +0000 (10:50 +0200)
commit08506f3360fadc2283e261e0d9cf23bb040d2cf9
tree1760b0b11e5ccf164cc26d54fcd19e215f31cbcb
parentfc5093a0b7be1a329b08ce3c071e0c56232aaac7
mds/MDCache.h: init some members of open_ino_info_t in ctor

Fix for:

CID 1026809 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
 uninit_member: Non-static class member want_replica is not
  initialized in this constructor nor in any functions that
  it calls.
 uninit_member: Non-static class member want_xlocked is not
  initialized in this constructor nor in any functions that
  it calls.
 uninit_member: Non-static class member tid is not initialized
  in this constructor nor in any functions that it calls.
 uninit_member: Non-static class member pool is not initialized
  in this constructor nor in any functions that it calls.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/mds/MDCache.h