提交 69796f70 编写于 作者: H Hongze Cheng

refactor

上级 3d663ad8
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include "taosdef.h" #include "taosdef.h"
#include "hash.h" #include "hash.h"
#include "hash.h"
#include "taoserror.h" #include "taoserror.h"
#include "tglobal.h" #include "tglobal.h"
...@@ -26,6 +25,11 @@ ...@@ -26,6 +25,11 @@
extern "C" { extern "C" {
#endif #endif
typedef struct {
int level;
int id;
} SDiskID;
int tdInitMount(SDiskCfg *pDiskCfg, int ndisk); int tdInitMount(SDiskCfg *pDiskCfg, int ndisk);
void tdDestroyMount(); void tdDestroyMount();
int tdUpdateDiskInfos(); int tdUpdateDiskInfos();
......
...@@ -17,10 +17,6 @@ ...@@ -17,10 +17,6 @@
#include "tdisk.h" #include "tdisk.h"
#include "tulog.h" #include "tulog.h"
typedef struct {
int level;
int did;
} SDiskID;
typedef struct { typedef struct {
uint64_t size; uint64_t size;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册