]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- added comment
authorArvin Schnell <aschnell@suse.de>
Fri, 1 Apr 2016 11:00:21 +0000 (13:00 +0200)
committerArvin Schnell <aschnell@suse.de>
Fri, 1 Apr 2016 11:00:21 +0000 (13:00 +0200)
snapper/Snapper.cc

index 5c44c61d64abcd8d7916e5e36ceb341029465e80..c87b2528ae8d5455a461834a4347919aaa92427f 100644 (file)
@@ -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;