summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak2019-06-18 22:05:16 +0200
committerKarel Zak2019-06-18 22:05:16 +0200
commitdab1303287b7ebe30b57ccc78591070dad0a85ea (patch)
tree6c23d97dea32eb6880dccbce0ced407dc5c9466b
parentlibfdisk: add fdisk_assign_device_by_fd() (diff)
downloadkernel-qcow2-util-linux-dab1303287b7ebe30b57ccc78591070dad0a85ea.tar.gz
kernel-qcow2-util-linux-dab1303287b7ebe30b57ccc78591070dad0a85ea.tar.xz
kernel-qcow2-util-linux-dab1303287b7ebe30b57ccc78591070dad0a85ea.zip
Revert "lib/loopdev.c: Inline loopcxt_has_device"
... no caller in that file, this change has no effect. This reverts commit 3bb960c7b5f1428f1bff885b2667787e8af5001b.
-rw-r--r--lib/loopdev.c2
1 files changed, 1 insertions, 1 deletions
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;
}