e63663
From 602fb566468d3837b7871c17a0fab1a20228d119 Mon Sep 17 00:00:00 2001
e63663
From: Kamil Dudka <kdudka@redhat.com>
e63663
Date: Mon, 7 Jun 2021 14:43:03 +0200
e63663
Subject: [PATCH] mountlist: recognize fuse.portal as dummy file system
e63663
e63663
This was originally proposed at:
e63663
e63663
    https://lists.gnu.org/archive/html/bug-gnulib/2021-02/msg00053.html
e63663
e63663
As the full review might take some time, would it be possible to apply
e63663
at least the part related to fuse.portal file systems?  They started to
e63663
cause problems recently:
e63663
e63663
    https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-portal/+bug/1905623
e63663
    https://github.com/muesli/duf/issues/35
e63663
    https://bugzilla.redhat.com/1913358
e63663
e63663
Upstream-commit: 9a38d499ca16f2f4304992eb1ab0894cd0b478e1
e63663
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
e63663
---
e63663
 lib/mountlist.c | 1 +
e63663
 1 file changed, 1 insertion(+)
e63663
e63663
diff --git a/lib/mountlist.c b/lib/mountlist.c
e63663
index e0227b7..e5f6b07 100644
e63663
--- a/lib/mountlist.c
e63663
+++ b/lib/mountlist.c
e63663
@@ -170,6 +170,7 @@
e63663
    || strcmp (Fs_type, "debugfs") == 0          \
e63663
    || strcmp (Fs_type, "devpts") == 0           \
e63663
    || strcmp (Fs_type, "fusectl") == 0          \
e63663
+   || strcmp (Fs_type, "fuse.portal") == 0      \
e63663
    || strcmp (Fs_type, "mqueue") == 0           \
e63663
    || strcmp (Fs_type, "rpc_pipefs") == 0       \
e63663
    || strcmp (Fs_type, "sysfs") == 0            \
e63663
-- 
e63663
2.31.1
e63663