mountpoint-util: add exempt for overlay in fstype_is_blockdev_backed()
This allows `systemd-mount` to be used with --type overlay
This commit is contained in:
committed by
Pontus Lundkvist
parent
0dbd116351
commit
d4acc09d9d
@@ -402,7 +402,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) {
|
||||
|
||||
Reference in New Issue
Block a user