Skip to content

Commit

Permalink
udiskslinuxmanager: Trigger uevent after loop device setup
Browse files Browse the repository at this point in the history
  • Loading branch information
tbzatek committed Nov 16, 2020
1 parent 8d5c90a commit 7fe04e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/udiskslinuxmanager.c
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,9 @@ handle_loop_setup (UDisksManager *object,
error = NULL;
wait_data.loop_device = loop_device;
wait_data.path = path;
udisks_daemon_util_trigger_uevent_sync (manager->daemon,
loop_device,
UDISKS_DEFAULT_WAIT_TIMEOUT);
loop_object = udisks_daemon_wait_for_object_sync (manager->daemon,
wait_for_loop_object,
&wait_data,
Expand Down

0 comments on commit 7fe04e7

Please sign in to comment.