From de49a3fea6b8475b2ba6afa62be6296c78a42255 Mon Sep 17 00:00:00 2001 From: Ritesh Khadgaray Date: Fri, 25 Nov 2016 10:21:47 +0100 Subject: btrfs: Add support for changing label https://bugs.freedesktop.org/show_bug.cgi?id=96816 --- src/tests/integration-test | 2 +- src/udiskslinuxfsinfo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/integration-test b/src/tests/integration-test index 6320e6a..d9f2789 100755 --- a/src/tests/integration-test +++ b/src/tests/integration-test @@ -1011,7 +1011,7 @@ class FS(UDisksTestCase): except GLib.GError as e: if 'UDisks2.Error.NotSupported' in e.message: # these fses are known to not support relabeling - self.assertIn(type, ['minix', 'btrfs', 'f2fs']) + self.assertIn(type, ['minix', 'f2fs']) supported = False else: raise diff --git a/src/udiskslinuxfsinfo.c b/src/udiskslinuxfsinfo.c index 9a27b0f..9e1e922 100644 --- a/src/udiskslinuxfsinfo.c +++ b/src/udiskslinuxfsinfo.c @@ -101,7 +101,7 @@ const FSInfo _fs_info[] = }, { "btrfs", - NULL, + "btrfs filesystem label $DEVICE $LABEL", NULL, FALSE, /* supports_online_label_rename */ TRUE, /* supports_owners */ -- cgit v1.2.3