Skip to content

Commit

Permalink
btrfs: Fix completion of the GDBus method invocation handler
Browse files Browse the repository at this point in the history
Purely a cosmetic matter, no real code change.
  • Loading branch information
tbzatek committed Jan 27, 2021
1 parent 9771f94 commit babecd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/btrfs/udiskslinuxfilesystembtrfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ btrfs_subvolume_perform_action (UDisksFilesystemBTRFS *fs_btrfs,
g_list_free_full (siblings, g_object_unref);

/* Complete DBus call. */
udisks_filesystem_btrfs_complete_set_label (fs_btrfs, invocation);
g_dbus_method_invocation_return_value (invocation, g_variant_new ("()"));

out:
/* Release the resources */
Expand Down Expand Up @@ -574,7 +574,7 @@ btrfs_device_perform_action (UDisksFilesystemBTRFS *fs_btrfs,
g_list_free_full (siblings, g_object_unref);

/* Complete DBus call. */
udisks_filesystem_btrfs_complete_add_device (fs_btrfs, invocation);
g_dbus_method_invocation_return_value (invocation, g_variant_new ("()"));

out:
/* Release the resources */
Expand Down

0 comments on commit babecd8

Please sign in to comment.