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

Conversation

vinsonlee
Copy link
Contributor

flashcache_main.c: In function ‘flashcache_io_callback’:
flashcache_main.c:328:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (dmc->cache_mode == FLASHCACHE_WRITE_THROUGH)
^~

Fixes: 9cb6e3a ("Disambiguate ssd errors and disk errors on IO completion. On IO completion for the !WRITEBACK case, issue an uncached disk IO in the case of a SSD error. Patch submitted by Mohit Saxena.")
Signed-off-by: Vinson Lee vlee@freedesktop.org

flashcache_main.c: In function ‘flashcache_io_callback’:
flashcache_main.c:328:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
    if (dmc->cache_mode == FLASHCACHE_WRITE_THROUGH)
    ^~

Fixes: 9cb6e3a ("Disambiguate ssd errors and disk errors on IO completion. On IO completion for the !WRITEBACK case, issue an uncached disk IO in the case of a SSD error. Patch submitted by Mohit Saxena.")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants