forked from pool/systemd
.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=499
This commit is contained in:
parent
b140810e1a
commit
fb858fdc90
@ -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()
|
||||||
+{
|
+{
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user