summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--quotasys.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/quotasys.c b/quotasys.c
index 3ac9387..a19aebb 100644
--- a/quotasys.c
+++ b/quotasys.c
@@ -1283,6 +1283,15 @@ alloc:
continue;
}
+ if (!strcmp(mnt->mnt_type, MNTTYPE_BCACHEFS)) {
+ devname = strdup(devname);
+
+ char *p = strchr(devname, ':');
+
+ if (p)
+ *p = '\0';
+ }
+
/* Check for mountpoints under autofs and skip them*/
for (i = 0; i < autofsdircnt; i++) {
int slen = strlen(autofsdir[i]);