Lines Matching defs:dummy_log
157 static struct jfs_log *dummy_log;
1200 if (!dummy_log) {
1201 dummy_log = kzalloc(sizeof(struct jfs_log), GFP_KERNEL);
1202 if (!dummy_log) {
1206 INIT_LIST_HEAD(&dummy_log->sb_list);
1207 init_waitqueue_head(&dummy_log->syncwait);
1208 dummy_log->no_integrity = 1;
1210 dummy_log->base = 0;
1211 dummy_log->size = 1024;
1212 rc = lmLogInit(dummy_log);
1214 kfree(dummy_log);
1215 dummy_log = NULL;
1221 LOG_LOCK(dummy_log);
1222 list_add(&JFS_SBI(sb)->log_list, &dummy_log->sb_list);
1223 JFS_SBI(sb)->log = dummy_log;
1224 LOG_UNLOCK(dummy_log);
1480 * TODO: ensure that the dummy_log is in a state to allow
1482 * kfree against dummy_log. For now, leave dummy_log & its