SHA256
1
0
forked from pool/systemd
Dr. Werner Fink 2014-01-30 08:30:23 +00:00 committed by Git OBS Bridge
parent b140810e1a
commit fb858fdc90
3 changed files with 15 additions and 3 deletions

View File

@ -227,7 +227,7 @@ systemctl command as well as for the systemd-shutdown utility.
+ +
+ if (value && *value != '0') { + if (value && *value != '0') {
+ *flags = DISK_MANAGED; + *flags = DISK_MANAGED;
+#ifdef LIST_DEBUG +#ifndef LIST_DEBUG
+ goto next; /* Device managed by the kernel */ + goto next; /* Device managed by the kernel */
+#endif +#endif
+ } + }
@ -279,7 +279,7 @@ systemctl command as well as for the systemd-shutdown utility.
+empty: +empty:
+ return sysfs->devnode; + return sysfs->devnode;
+} +}
+ +#ifndef LIST_DEBUG
+/* +/*
+ * Check IDE/(S)ATA hard disk identity for + * Check IDE/(S)ATA hard disk identity for
+ * the FLUSH CACHE EXT bit set. + * the FLUSH CACHE EXT bit set.
@ -375,7 +375,7 @@ systemctl command as well as for the systemd-shutdown utility.
+ return -1; + return -1;
+ return 0; + return 0;
+} +}
+ +#endif
+#ifdef LIST_DEBUG +#ifdef LIST_DEBUG
+int main() +int main()
+{ +{

View File

@ -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 Tue Jan 28 12:44:07 UTC 2014 - werner@suse.de

View File

@ -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 Tue Jan 28 12:44:07 UTC 2014 - werner@suse.de