diff options
Diffstat (limited to 'libdm/libdm-common.c')
-rw-r--r-- | libdm/libdm-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdm/libdm-common.c b/libdm/libdm-common.c index d18de9ce2..8d5eca884 100644 --- a/libdm/libdm-common.c +++ b/libdm/libdm-common.c @@ -1221,7 +1221,7 @@ static int _set_dev_node_read_ahead(const char *dev_name, if (!get_dev_node_read_ahead(dev_name, major, minor, ¤t_read_ahead)) return_0; - if (current_read_ahead > read_ahead) { + if (current_read_ahead >= read_ahead) { log_debug_activation("%s: retaining kernel read ahead of %" PRIu32 " (requested %" PRIu32 ")", dev_name, current_read_ahead, read_ahead); |