From dcc3df7e6d9467b61fb1dcce4bf653e835613e49 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 11 Nov 2014 12:35:58 +0100 Subject: btrfs-progs: rename btrfs_scan_lblkid() to btrfs_scan_devices() It seems like bad idea to use a library name (lblkid) within generic function name. The currently used scanning library is implementation detail and this detail should be hidden for rest of the code. Signed-off-by: Karel Zak Signed-off-by: David Sterba --- cmds-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmds-device.c') diff --git a/cmds-device.c b/cmds-device.c index a939c56f..fa0830f2 100644 --- a/cmds-device.c +++ b/cmds-device.c @@ -283,7 +283,7 @@ static int cmd_device_scan(int argc, char **argv) if (all || argc - optind == 0) { printf("Scanning for Btrfs filesystems\n"); - ret = btrfs_scan_lblkid(); + ret = btrfs_scan_devices(); error_on(ret, "error %d while scanning", ret); ret = btrfs_register_all_devices(); error_on(ret, "there are %d errors while registering devices", ret); -- cgit v1.2.3