diff --git a/0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch b/0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch index 0e0466f5..2d48b38a 100644 --- a/0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch +++ b/0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch @@ -227,7 +227,7 @@ systemctl command as well as for the systemd-shutdown utility. + + if (value && *value != '0') { + *flags = DISK_MANAGED; -+#ifdef LIST_DEBUG ++#ifndef LIST_DEBUG + goto next; /* Device managed by the kernel */ +#endif + } @@ -279,7 +279,7 @@ systemctl command as well as for the systemd-shutdown utility. +empty: + return sysfs->devnode; +} -+ ++#ifndef LIST_DEBUG +/* + * Check IDE/(S)ATA hard disk identity for + * the FLUSH CACHE EXT bit set. @@ -375,7 +375,7 @@ systemctl command as well as for the systemd-shutdown utility. + return -1; + return 0; +} -+ ++#endif +#ifdef LIST_DEBUG +int main() +{ diff --git a/systemd-mini.changes b/systemd-mini.changes index 85a6b035..0bafb0b2 100644 --- a/systemd-mini.changes +++ b/systemd-mini.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 30 08:29:00 UTC 2014 - werner@suse.de + +- Change patch 0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch + to skip already by the kernel managed devices + ------------------------------------------------------------------- Tue Jan 28 12:44:07 UTC 2014 - werner@suse.de diff --git a/systemd.changes b/systemd.changes index 85a6b035..0bafb0b2 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 30 08:29:00 UTC 2014 - werner@suse.de + +- Change patch 0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch + to skip already by the kernel managed devices + ------------------------------------------------------------------- Tue Jan 28 12:44:07 UTC 2014 - werner@suse.de