]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- do not test types matching in cmpFilesXattrs()
authorOndrej Kozina <okozina@redhat.com>
Tue, 12 Mar 2013 15:52:21 +0000 (16:52 +0100)
committerOndrej Kozina <okozina@redhat.com>
Tue, 12 Mar 2013 15:52:21 +0000 (16:52 +0100)
snapper/Compare.cc

index e19bb7c0d467f695f441826f2a29aecf010bbaf3..fd47951d5174f810d5aba197f1ae6b55c6bc9907 100644 (file)
@@ -473,9 +473,6 @@ namespace snapper
     bool
     cmpFilesXattrs(const SFile& file1, const struct stat& stat1, const SFile& file2, const struct stat& stat2)
     {
-        if ((stat1.st_mode & S_IFMT) != (stat2.st_mode & S_IFMT))
-            throw LogicErrorException();
-
         bool retval;
 
         try