diff options
author | Karel Zak <kzak@redhat.com> | 2014-11-11 12:35:58 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-10-25 14:28:36 +0200 |
commit | dcc3df7e6d9467b61fb1dcce4bf653e835613e49 (patch) | |
tree | fa0344a34be0b8297273894bfe449172e6927d42 /utils.h | |
parent | cf8fd1a70884db0b31e312d0780611f262bb9b45 (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 'utils.h')
-rw-r--r-- | utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -210,7 +210,7 @@ int csum_tree_block(struct btrfs_root *root, struct extent_buffer *buf, int verify); int ask_user(const char *question); int lookup_ino_rootid(int fd, u64 *rootid); -int btrfs_scan_lblkid(void); +int btrfs_scan_devices(void); int get_btrfs_mount(const char *dev, char *mp, size_t mp_size); int find_mount_root(const char *path, char **mount_root); int get_device_info(int fd, u64 devid, |