26 Jan
2021
26 Jan
'21
10:07 a.m.
Seems as if this was a typo in the original commit. It happens that both constants have the same value. Fixes: commit 90438c112cedbaab6afdcc85560c54d015c67e54 --- filters/cow/cow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filters/cow/cow.c b/filters/cow/cow.c index 51ca64a4..cbb072f1 100644 --- a/filters/cow/cow.c +++ b/filters/cow/cow.c @@ -183,7 +183,7 @@ cow_can_cache (struct nbdkit_next_ops *next_ops, void *nxdata, void *handle) int r = next_ops->can_cache (nxdata); if (r == -1) return -1; - return NBDKIT_FUA_NATIVE; + return NBDKIT_CACHE_NATIVE; } /* Override the plugin's .can_fast_zero, because our .zero is not fast */ -- 2.29.0.rc2