From fb40b13165acd795e5dd687fbc9c01623c91aa24 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 16 Nov 2021 12:32:07 +0100 Subject: [PATCH] basic: f2fs can do discard --- src/basic/mountpoint-util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/basic/mountpoint-util.c b/src/basic/mountpoint-util.c index 240df3782a0..82a33a68295 100644 --- a/src/basic/mountpoint-util.c +++ b/src/basic/mountpoint-util.c @@ -420,6 +420,7 @@ bool fstype_is_ro(const char *fstype) { bool fstype_can_discard(const char *fstype) { return STR_IN_SET(fstype, "btrfs", + "f2fs", "ext4", "vfat", "xfs"); -- 2.47.3