Home
last modified time | relevance | path

Searched refs:sysfs_bdev (Results 1 – 1 of 1) sorted by relevance

/system/core/fs_mgr/libfiemap/
Dutility.cpp134 std::string sysfs_bdev; in BlockDeviceToName() local
136 if (!::android::base::Readlink(sysfs_path, &sysfs_bdev)) { in BlockDeviceToName()
141 *bdev_name = ::android::base::Basename(sysfs_bdev); in BlockDeviceToName()
143 if (sysfs_bdev == *bdev_name) { in BlockDeviceToName()
144 LOG(ERROR) << "Malformed symlink for block device: " << sysfs_bdev; in BlockDeviceToName()