From 93633789f5f40e04d6dc1a01a2f0523e330a320c Mon Sep 17 00:00:00 2001 From: Arvin Schnell Date: Mon, 22 Oct 2018 09:56:47 +0200 Subject: [PATCH] - fixed querying default and active snapshot if compiled without rollback support --- LIBVERSION | 2 +- VERSION | 2 +- dists/debian/changelog | 6 ++++++ package/snapper.changes | 7 +++++++ snapper/Btrfs.cc | 15 +++++---------- 5 files changed, 20 insertions(+), 12 deletions(-) diff --git a/LIBVERSION b/LIBVERSION index f77856a6..cc2fbe89 100644 --- a/LIBVERSION +++ b/LIBVERSION @@ -1 +1 @@ -4.3.1 +4.3.2 diff --git a/VERSION b/VERSION index 39e898a4..7486fdbc 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.7.1 +0.7.2 diff --git a/dists/debian/changelog b/dists/debian/changelog index 8fd68669..1dd9c9f4 100644 --- a/dists/debian/changelog +++ b/dists/debian/changelog @@ -1,3 +1,9 @@ +snapper (0.7.2) stable; urgency=low + + * Updated to version 0.7.2 + + -- Arvin Schnell Mon, 22 Oct 2018 09:57:01 +0200 + snapper (0.7.1) stable; urgency=low * Updated to version 0.7.1 diff --git a/package/snapper.changes b/package/snapper.changes index 46cd4112..bb25f365 100644 --- a/package/snapper.changes +++ b/package/snapper.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Oct 22 09:52:01 CEST 2018 - aschnell@suse.com + +- fixed querying default and active snapshot if compiled without + rollback support (gh#openSUSE/snapper#442) +- version 0.7.2 + ------------------------------------------------------------------- Tue Oct 16 14:00:56 CEST 2018 - aschnell@suse.com diff --git a/snapper/Btrfs.cc b/snapper/Btrfs.cc index b3bafb4a..153b8c69 100644 --- a/snapper/Btrfs.cc +++ b/snapper/Btrfs.cc @@ -1544,40 +1544,35 @@ namespace snapper bool Btrfs::isDefault(unsigned int num) const { - SN_THROW(UnsupportedException()); - __builtin_unreachable(); + return Filesystem::isDefault(num); } std::pair Btrfs::getDefault() const { - SN_THROW(UnsupportedException()); - __builtin_unreachable(); + return Filesystem::getDefault(); } void Btrfs::setDefault(unsigned int num) const { - SN_THROW(UnsupportedException()); - __builtin_unreachable(); + Filesystem::setDefault(num); } std::pair Btrfs::getActive() const { - SN_THROW(UnsupportedException()); - __builtin_unreachable(); + return Filesystem::getActive(); } bool Btrfs::isActive(unsigned int num) const { - SN_THROW(UnsupportedException()); - __builtin_unreachable(); + return Filesystem::isActive(num); } #endif -- 2.47.3