cp: avoid spurious failure on any non-linux kernel

* src/extent-scan.c (extent_scan_read) [!linux]: Always set
scan->initial_scan_failed so caller knows not to report the failure.
This commit is contained in:
Jim Meyering committed 2011-02-04 15:01:39 +01:00
1 parent ee74c7d36d
commit d5fa424a9c
1 file changed
+1
+1
View File
@@ -110,6 +110,7 @@ extent_scan_read (struct extent_scan *scan)
extern bool
extent_scan_read (struct extent_scan *scan ATTRIBUTE_UNUSED)
{
scan->initial_scan_failed = true;
errno = ENOTSUP;
return false;
}