From: Arvin Schnell Date: Fri, 1 Apr 2016 11:00:21 +0000 (+0200) Subject: - added comment X-Git-Tag: v0.3.3~13^2^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39cdefbf9e1d59450515d7cc623a1a8edd3169c4;p=thirdparty%2Fsnapper.git - added comment --- diff --git a/snapper/Snapper.cc b/snapper/Snapper.cc index 5c44c61d..c87b2528 100644 --- a/snapper/Snapper.cc +++ b/snapper/Snapper.cc @@ -736,6 +736,10 @@ namespace snapper SDir subvolume_dir = openSubvolumeDir(); + // Since we already did a rescan in prepareQuota we should be fine + // with just a sync here, see + // https://bugzilla.suse.com/show_bug.cgi?id=972508#c7. + BtrfsUtils::sync(subvolume_dir.fd()); struct statvfs64 fsbuf;