提交 ee1b3306 创建 作者: Austin Clements's avatar Austin Clements

Define struct log separately from log to avoid confusing column breaker

上级 a14c96f8
......@@ -38,14 +38,15 @@ struct logheader {
int sector[LOGSIZE];
};
struct {
struct log {
struct spinlock lock;
int start;
int size;
int intrans;
int dev;
struct logheader lh;
} log;
};
struct log log;
static void recover_from_log(void);
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论