diff options
author | Eric Sandeen <sandeen@redhat.com> | 2013-04-11 10:39:30 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-04-23 18:56:25 +0200 |
commit | c9ef717ba30a755f44b1bfd85a3b8d14fb5444bd (patch) | |
tree | e01a2bc82772890e9b5232e1be646ed3a80b1727 /free-space-cache.h | |
parent | 6712828275631b6b627ce97be042c93f4a4aa6c5 (diff) |
btrfs-progs: replace blkid_probe_get_wholedisk_devno
blkid_probe_get_wholedisk_devno() isn't available in some older
versions of libblkid. It was used to work around an old
bug in blkid_devno_to_wholedisk(), but that has been fixed since
5cd0823 libblkid: fix blkid_devno_to_wholedisk(), present in
util-linux 2.17 and beyond.
If we happen to be missing that fix, the worst that happens is
that we'd fail to detect that a device is an ssd; the upside is
that this code compiles on older systems.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Diffstat (limited to 'free-space-cache.h')
0 files changed, 0 insertions, 0 deletions