+snapper (0.8.2) stable; urgency=low
+
+ * Updated to version 0.8.2
+
+ -- Arvin Schnell <aschnell@suse.com> Tue, 22 Jan 2019 11:07:18 +0100
+
snapper (0.8.1) stable; urgency=low
* Updated to version 0.8.1
+-------------------------------------------------------------------
+Tue Jan 22 11:05:01 CET 2019 - aschnell@suse.com
+
+- adapted to libbtrfs changes to resurrect special btrfs directory
+ comparison (bsc#1111414)
+- version 0.8.2
+
-------------------------------------------------------------------
Fri Jan 18 10:45:54 CET 2019 - aschnell@suse.com
{
FdCloser fd_closer(fd);
+ unsigned int iterations = 0;
+
while (true)
{
boost::this_thread::interruption_point();
- // remove the fourth parameter for older versions of libbtrfs
+ // remove the fourth parameter for older versions of libbtrfs
int r;
#if BTRFS_LIB_VERSION < 101
r = btrfs_read_and_process_send_stream(fd, &send_ops, &*this, 0, 1);
#endif
- if (r < 0)
+ // Only return an error when r == -ENODATA if this was the
+ // first call to btrfs_read_and_process_send_stream(). See
+ // https://github.com/openSUSE/snapper/pull/438,
+ // https://bugzilla.suse.com/show_bug.cgi?id=1111414 and
+ // the btrfs-progs source code.
+
+ if (r < 0 && !(r == -ENODATA && iterations > 0))
{
y2err("btrfs_read_and_process_send_stream failed " << r);
return true;
}
+ ++iterations;
}
}