summaryrefslogtreecommitdiff
path: root/pkg/util-linux/patch/0006-Revert-lib-loopdev.c-Inline-loopcxt_has_device.patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-01-21 15:40:06 -0800
committerMichael Forney <mforney@mforney.org>2020-01-21 15:40:06 -0800
commitea88d8b06ba2ae5df56e34badc103f0c5e274826 (patch)
tree5b59fe9c9c34cb236b24d70f212c6fd56b48aa06 /pkg/util-linux/patch/0006-Revert-lib-loopdev.c-Inline-loopcxt_has_device.patch
parentd1c3f5f5cc94c6f1d2926e9f6a3742a534f280db (diff)
util-linux: Update to 2.35
Diffstat (limited to 'pkg/util-linux/patch/0006-Revert-lib-loopdev.c-Inline-loopcxt_has_device.patch')
-rw-r--r--pkg/util-linux/patch/0006-Revert-lib-loopdev.c-Inline-loopcxt_has_device.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/pkg/util-linux/patch/0006-Revert-lib-loopdev.c-Inline-loopcxt_has_device.patch b/pkg/util-linux/patch/0006-Revert-lib-loopdev.c-Inline-loopcxt_has_device.patch
deleted file mode 100644
index 2bebbb03..00000000
--- a/pkg/util-linux/patch/0006-Revert-lib-loopdev.c-Inline-loopcxt_has_device.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 91696aa317a78a594ca8ae6e6a810fe778490e6a Mon Sep 17 00:00:00 2001
-From: Karel Zak <kzak@redhat.com>
-Date: Tue, 18 Jun 2019 22:05:16 +0200
-Subject: [PATCH] Revert "lib/loopdev.c: Inline loopcxt_has_device"
-
-... no caller in that file, this change has no effect.
-
-This reverts commit 3bb960c7b5f1428f1bff885b2667787e8af5001b.
----
- lib/loopdev.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/loopdev.c b/lib/loopdev.c
-index ede1b5cdc..99a093926 100644
---- a/lib/loopdev.c
-+++ b/lib/loopdev.c
-@@ -127,7 +127,7 @@ int loopcxt_set_device(struct loopdev_cxt *lc, const char *device)
- return 0;
- }
-
--inline int loopcxt_has_device(struct loopdev_cxt *lc)
-+int loopcxt_has_device(struct loopdev_cxt *lc)
- {
- return lc && *lc->device;
- }
---
-2.20.1
-