diff --git a/src/basic/mountpoint-util.c b/src/basic/mountpoint-util.c index 624a3fcbed0..06d4d4450a2 100644 --- a/src/basic/mountpoint-util.c +++ b/src/basic/mountpoint-util.c @@ -391,8 +391,7 @@ bool fstype_is_api_vfs(const char *fstype) { /* Filesystems not present in the internal database */ return STR_IN_SET(fstype, "autofs", - "cpuset", - "devtmpfs"); + "cpuset"); } bool fstype_is_blockdev_backed(const char *fstype) { @@ -402,7 +401,7 @@ bool fstype_is_blockdev_backed(const char *fstype) { if (x) fstype = x; - return !streq(fstype, "9p") && !fstype_is_network(fstype) && !fstype_is_api_vfs(fstype); + return !STR_IN_SET(fstype, "9p", "overlay") && !fstype_is_network(fstype) && !fstype_is_api_vfs(fstype); } bool fstype_is_ro(const char *fstype) {