summaryrefslogtreecommitdiff
path: root/util-linux/volume_id/unused_lvm.c
diff options
context:
space:
mode:
authorDenys Vlasenko2009-11-01 23:07:18 +0100
committerDenys Vlasenko2009-11-01 23:07:18 +0100
commit893009644fb0e4854193e664f512b96fa5590041 (patch)
tree14b264eb48ea449b588c82cd9cf404f5e0769902 /util-linux/volume_id/unused_lvm.c
parent662e8b79d011d022c40c717501b727c1480a105f (diff)
downloadbusybox-893009644fb0e4854193e664f512b96fa5590041.zip
busybox-893009644fb0e4854193e664f512b96fa5590041.tar.gz
volume_id: add FAST_FUNC where appropriate
function old new delta volume_id_probe_iso9660 324 327 +3 volume_id_probe_vfat 902 903 +1 volume_id_probe_udf 576 577 +1 volume_id_probe_ntfs 314 315 +1 uuidcache_check_device 292 291 -1 volume_id_probe_xfs 87 85 -2 volume_id_probe_sysv 165 163 -2 volume_id_probe_romfs 89 87 -2 volume_id_probe_reiserfs 236 234 -2 volume_id_probe_ocfs2 96 94 -2 volume_id_probe_luks 78 76 -2 volume_id_probe_linux_swap 165 163 -2 volume_id_probe_jfs 96 94 -2 volume_id_probe_hfs_hfsplus 795 793 -2 volume_id_probe_ext 82 80 -2 volume_id_probe_cramfs 59 57 -2 volume_id_probe_btrfs 96 94 -2 free_volume_id 36 31 -5 volume_id_probe_linux_raid 127 119 -8 volume_id_probe_all 152 138 -14 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/16 up/down: 6/-52) Total: -46 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/volume_id/unused_lvm.c')
-rw-r--r--util-linux/volume_id/unused_lvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/volume_id/unused_lvm.c b/util-linux/volume_id/unused_lvm.c
index c327068..2206498 100644
--- a/util-linux/volume_id/unused_lvm.c
+++ b/util-linux/volume_id/unused_lvm.c
@@ -34,7 +34,7 @@ struct lvm2_super_block {
#define LVM1_SB_OFF 0x400
-int volume_id_probe_lvm1(struct volume_id *id, uint64_t off)
+int FAST_FUNC volume_id_probe_lvm1(struct volume_id *id, uint64_t off)
{
struct lvm1_super_block *lvm;
@@ -56,7 +56,7 @@ int volume_id_probe_lvm1(struct volume_id *id, uint64_t off)
#define LVM2_LABEL_ID "LABELONE"
#define LVM2LABEL_SCAN_SECTORS 4
-int volume_id_probe_lvm2(struct volume_id *id, uint64_t off)
+int FAST_FUNC volume_id_probe_lvm2(struct volume_id *id, uint64_t off)
{
const uint8_t *buf;
unsigned soff;