Skip to content

Commit

Permalink
lib-storage: Fixed potential .vsize.lock deadlock.
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed Aug 10, 2016
1 parent 749b917 commit 8e4f094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib-storage/index/index-storage.c
Expand Up @@ -1022,7 +1022,7 @@ int index_storage_expunged_sync_begin(struct mailbox *box,
/* race condition - need to abort the sync and retry with
the vsize locked */
mail_index_sync_rollback(ctx_r);
index_storage_expunging_init(box);
index_storage_expunging_deinit(box);
return index_storage_expunged_sync_begin(box, ctx_r, view_r,
trans_r, flags);
}
Expand Down

1 comment on commit 8e4f094

@tomsommer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.