diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-05-21 09:59:31 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2019-05-21 09:59:31 -0400 |
commit | 00bac487b0f105a875819faaa6bc0e450b80650a (patch) | |
tree | 0128235d60b3596b7c6cad6999f92555e63fa9cc | |
parent | 95436661cde27fa88c50284cc6671f07b7fecd9e (diff) |
Fix for multi device bcachefs filesystems
-rw-r--r-- | quotasys.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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]); |