summaryrefslogtreecommitdiff
path: root/disk-io.c
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2014-11-11 12:35:58 +0100
committerDavid Sterba <dsterba@suse.com>2016-10-25 14:28:36 +0200
commitdcc3df7e6d9467b61fb1dcce4bf653e835613e49 (patch)
treefa0344a34be0b8297273894bfe449172e6927d42 /disk-io.c
parentcf8fd1a70884db0b31e312d0780611f262bb9b45 (diff)
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 <kzak@redhat.com> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'disk-io.c')
-rw-r--r--disk-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-io.c b/disk-io.c
index f24567b8..a5763007 100644
--- a/disk-io.c
+++ b/disk-io.c
@@ -1167,7 +1167,7 @@ int btrfs_scan_fs_devices(int fd, const char *path,
}
if (!skip_devices && total_devs != 1) {
- ret = btrfs_scan_lblkid();
+ ret = btrfs_scan_devices();
if (ret)
return ret;
}