File fix_udf.patch of Package udisks2

--- src/udiskslinuxfilesystem.c.orig	2018-08-01 14:45:39.000000000 +0300
+++ src/udiskslinuxfilesystem.c	2020-07-19 20:22:33.931320029 +0300
@@ -239,6 +239,7 @@
   "vfat",
   "exfat",
   "ntfs",
+  "ufs",
   NULL,
 };
 
@@ -371,6 +372,13 @@
 static const gchar *hfsplus_allow_uid_self[] = { "uid", NULL };
 static const gchar *hfsplus_allow_gid_self[] = { "gid", NULL };
 
+/* ---------------------- ufs -------------------- */
+
+static const gchar *ufs_defaults[] = { "ufstype=ufs2", NULL };
+static const gchar *ufs_allow[] = { "ufstype=", NULL };
+static const gchar *ufs_allow_uid_self[] = { NULL };
+static const gchar *ufs_allow_gid_self[] = { NULL };
+
 /* ------------------------------------------------ */
 /* TODO: support context= */
 
@@ -384,6 +392,7 @@
     { "udf", udf_defaults, udf_allow, udf_allow_uid_self, udf_allow_gid_self },
     { "exfat", exfat_defaults, exfat_allow, exfat_allow_uid_self, exfat_allow_gid_self },
     { "hfsplus", hfsplus_defaults, hfsplus_allow, hfsplus_allow_uid_self, hfsplus_allow_gid_self },
+    { "ufs", ufs_defaults, ufs_allow, ufs_allow_uid_self, ufs_allow_gid_self },
   };
 
 /* ------------------------------------------------ */
openSUSE Build Service is sponsored by