mirror of
https://github.com/microsoft/WSL.git
synced 2025-12-10 00:44:55 -06:00
wsla: Use a mount timeout when mounting a disk (#13471)
This commit is contained in:
parent
fe5cd2d55a
commit
ff2f490abe
@ -374,7 +374,8 @@ void HandleMessageImpl(wsl::shared::SocketChannel& Channel, const WSLA_MOUNT& Me
|
||||
|
||||
const char* source = readField(Message.SourceIndex);
|
||||
const char* target = readField(Message.DestinationIndex);
|
||||
THROW_LAST_ERROR_IF(UtilMount(source, target, readField(Message.TypeIndex), options.MountFlags, options.StringOptions.c_str()) < 0);
|
||||
THROW_LAST_ERROR_IF(
|
||||
UtilMount(source, target, readField(Message.TypeIndex), options.MountFlags, options.StringOptions.c_str(), c_defaultRetryTimeout) < 0);
|
||||
|
||||
std::optional<std::string> overlayTarget;
|
||||
if (WI_IsFlagSet(Message.Flags, WSLA_MOUNT::OverlayFs))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user