diff --git a/libdm/libdm-stats.c b/libdm/libdm-stats.c index cff23d88f..61c052fc0 100644 --- a/libdm/libdm-stats.c +++ b/libdm/libdm-stats.c @@ -4948,8 +4948,7 @@ int dm_stats_start_filemapd(int fd, uint64_t group_id, const char *path, return 0; } - if (mode < DM_FILEMAPD_FOLLOW_INODE - || mode > DM_FILEMAPD_FOLLOW_PATH) { + if (mode > DM_FILEMAPD_FOLLOW_PATH) { log_error("Invalid dmfilemapd mode argument: " "Must be DM_FILEMAPD_FOLLOW_INODE or " "DM_FILEMAPD_FOLLOW_PATH");