Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Fix misleading-indentation error. #227

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/flashcache_main.c
Expand Up @@ -325,7 +325,7 @@ flashcache_io_callback(unsigned long error, void *context)
}
} else {
dmc->flashcache_errors.ssd_write_errors++;
if (dmc->cache_mode == FLASHCACHE_WRITE_THROUGH)
if (dmc->cache_mode == FLASHCACHE_WRITE_THROUGH) {
/*
* We don't know if the IO failed because of a ssd write
* error or a disk write error. Bump up both.
Expand All @@ -335,6 +335,7 @@ flashcache_io_callback(unsigned long error, void *context)
*/
disk_error = -EIO;
dmc->flashcache_errors.disk_write_errors++;
}
}
break;
}
Expand Down