From: Colin Patrick McCabe Date: Thu, 27 Jan 2011 16:34:53 +0000 (-0800) Subject: os: FileStore: ctor should init all class vars X-Git-Tag: v0.25~231^2~42^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ba5cbb3620b926f43193b1416bb78cd551bb5f8b;p=ceph.git os: FileStore: ctor should init all class vars Signed-off-by: Colin McCabe --- diff --git a/src/os/FileStore.cc b/src/os/FileStore.cc index cc6338d2a3c2..43ed811e3dcd 100644 --- a/src/os/FileStore.cc +++ b/src/os/FileStore.cc @@ -363,6 +363,7 @@ done: FileStore::FileStore(const char *base, const char *jdev) : basedir(base), journalpath(jdev ? jdev:""), + fsid(0), btrfs(false), btrfs_trans_start_end(false), btrfs_clone_range(false), btrfs_snap_create(false), btrfs_snap_destroy(false), @@ -370,6 +371,7 @@ FileStore::FileStore(const char *base, const char *jdev) : btrfs_wait_sync(false), ioctl_fiemap(false), fsid_fd(-1), op_fd(-1), + basedir_fd(-1), current_fd(-1), attrs(this), fake_attrs(false), collections(this), fake_collections(false), lock("FileStore::lock"),