From 545a07098cd3b92e74a7dd4d32d7eb465504c7f0 Mon Sep 17 00:00:00 2001 From: Daniel Madej Date: Thu, 31 Oct 2024 10:59:07 +0100 Subject: [PATCH] Fix for mtab changes Signed-off-by: Daniel Madej --- casadm/cas_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/casadm/cas_lib.c b/casadm/cas_lib.c index c314d7cc3..a0f7b2b19 100644 --- a/casadm/cas_lib.c +++ b/casadm/cas_lib.c @@ -1872,7 +1872,7 @@ int remove_core(unsigned int cache_id, unsigned int core_id, /* verify if specific core is mounted */ cmplen = snprintf(pattern, sizeof(pattern), "/dev/cas%d-%d", cache_id, core_id); - mounts_detected = device_mounts_detected(pattern, cmplen) + mounts_detected = device_mounts_detected(pattern, cmplen); if (!mounts_detected) { /* verify if any partition of the core is mounted */ cmplen = snprintf(pattern, sizeof(pattern), "/dev/cas%d-%dp", cache_id, core_id) - 1;