diff --git a/source/dnode/vnode/src/tsdb/dev/tsdbFS.c b/source/dnode/vnode/src/tsdb/dev/tsdbFS.c index 298531ab8c7d443b4fb6239c4d0c13fedafcd315..9e4ec99a4b21d9b5b98cab16c73e48f456325978 100644 --- a/source/dnode/vnode/src/tsdb/dev/tsdbFS.c +++ b/source/dnode/vnode/src/tsdb/dev/tsdbFS.c @@ -18,6 +18,7 @@ static int32_t create_file_system(STsdb *pTsdb, struct STFileSystem **ppFS) { ppFS[0] = taosMemoryCalloc(1, sizeof(*ppFS[0])); if (ppFS[0] == NULL) return TSDB_CODE_OUT_OF_MEMORY; + ppFS[0]->pTsdb = pTsdb; return 0; }