Loading fs_mgr/libdm/dm.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -111,8 +111,10 @@ bool DeviceMapper::DeleteDevice(const std::string& name, // Check to make sure appropriate uevent is generated so ueventd will // do the right thing and remove the corresponding device node and symlinks. CHECK(io.flags & DM_UEVENT_GENERATED_FLAG) << "Didn't generate uevent for [" << name << "] removal"; if ((io.flags & DM_UEVENT_GENERATED_FLAG) == 0) { LOG(ERROR) << "Didn't generate uevent for [" << name << "] removal"; return false; } if (timeout_ms <= std::chrono::milliseconds::zero()) { return true; Loading Loading
fs_mgr/libdm/dm.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -111,8 +111,10 @@ bool DeviceMapper::DeleteDevice(const std::string& name, // Check to make sure appropriate uevent is generated so ueventd will // do the right thing and remove the corresponding device node and symlinks. CHECK(io.flags & DM_UEVENT_GENERATED_FLAG) << "Didn't generate uevent for [" << name << "] removal"; if ((io.flags & DM_UEVENT_GENERATED_FLAG) == 0) { LOG(ERROR) << "Didn't generate uevent for [" << name << "] removal"; return false; } if (timeout_ms <= std::chrono::milliseconds::zero()) { return true; Loading