提交 ba42f8cd 编写于 作者: S Shengliang Guan

rename files

上级 ffe87632
...@@ -18,15 +18,13 @@ ...@@ -18,15 +18,13 @@
#include "os.h" #include "os.h"
#include "taosdef.h"
#include "taoserror.h" #include "taoserror.h"
#include "tlog.h"
#include "tglobal.h"
#include "tfs.h"
#include "tcoding.h" #include "tcoding.h"
#include "tfs.h"
#ifdef __cplusplus #include "tglobal.h"
extern "C" { #include "thash.h"
#endif #include "tlog.h"
extern int fsDebugFlag; extern int fsDebugFlag;
......
...@@ -13,13 +13,8 @@ ...@@ -13,13 +13,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "os.h" #define _DEFAULT_SOURCE
#include "tfsInt.h"
#include "taosdef.h"
#include "taoserror.h"
#include "tfs.h"
#include "tfsint.h"
#include "thash.h"
#define TMPNAME_LEN (TSDB_FILENAME_LEN * 2 + 32) #define TMPNAME_LEN (TSDB_FILENAME_LEN * 2 + 32)
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
*/ */
#define _DEFAULT_SOURCE #define _DEFAULT_SOURCE
#include "tfsint.h" #include "tfsInt.h"
SDisk *tfsNewDisk(int32_t level, int32_t id, const char *dir) { SDisk *tfsNewDisk(int32_t level, int32_t id, const char *dir) {
SDisk *pDisk = calloc(1, sizeof(SDisk)); SDisk *pDisk = calloc(1, sizeof(SDisk));
......
...@@ -12,11 +12,9 @@ ...@@ -12,11 +12,9 @@
* You should have received a copy of the GNU Affero General Public License * You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "os.h"
#include "taosdef.h" #define _DEFAULT_SOURCE
#include "taoserror.h" #include "tfsInt.h"
#include "tfsint.h"
#define tfsLockTier(pTier) pthread_spin_lock(&((pTier)->lock)) #define tfsLockTier(pTier) pthread_spin_lock(&((pTier)->lock))
#define tfsUnLockTier(pTier) pthread_spin_unlock(&((pTier)->lock)) #define tfsUnLockTier(pTier) pthread_spin_unlock(&((pTier)->lock))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册