Skip to content
This repository was 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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/flashcache_main.c
Original file line number Diff line number Diff line change
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