master - cache: fix previous change and correct ()
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=4ddf5a11cf333fdcf45eec907e12e10c41a9d578 Commit: 4ddf5a11cf333fdcf45eec907e12e10c41a9d578 Parent: 17ad8848361aa16ff227038068c3d0771771f095 Author: Zdenek Kabelac <[email protected]> AuthorDate: Fri Apr 22 12:31:02 2016 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Fri Apr 22 12:52:53 2016 +0200
cache: fix previous change and correct ()
412f09ca332c644e08421e289a3e8d54890971ba missed parentheses.
--- lib/metadata/cache_manip.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
lib/metadata/cache_manip.c +1 -2
@@ -47,11 +47,10 @@ const char *get_cache_mode_name(const struct lv_segment *seg)if (seg->feature_flags &DM_CACHE_FEATURE_WRITEBACK )return "writeback" ; -if (!seg->feature_flags &DM_CACHE_FEATURE_WRITETHROUGH ) { +if (!(seg->feature_flags &DM_CACHE_FEATURE_WRITETHROUGH ))log_error (INTERNAL_ERROR "LV %s has uknown feature flags %" PRIu64", " "returning writethrough instead." ,display_lvname (seg->lv), seg->feature_flags); - }return "writethrough" ; }