Skip to content

[stable17] Fix releasing a shared lock multiple times - #21712

Closed
backportbot-nextcloud[bot] wants to merge 2 commits into
stable17from
backport/21074/stable17
Closed

[stable17] Fix releasing a shared lock multiple times#21712
backportbot-nextcloud[bot] wants to merge 2 commits into
stable17from
backport/21074/stable17

Conversation

@backportbot-nextcloud

@backportbot-nextcloudbackportbot-nextcloudBot commented Jul 6, 2020

Copy link
Copy Markdown

⚠️ This backport had conflicts and is incomplete ⚠️

backport of #21074

jvsalo added 2 commits July 6, 2020 12:12
Signed-off-by: Jaakko Salo <jaakkos@gmail.com>
When uploading new files, getNodeForPath() will not succeed
yet so the lock cannot be acquired.
In that case, don't try to unlock it either.
Signed-off-by: Jaakko Salo <jaakkos@gmail.com>
@backportbot-nextcloudbackportbot-nextcloudBot added this to the Nextcloud 17.0.8 milestone Jul 6, 2020
@MorrisJobke
MorrisJobke deleted the backport/21074/stable17 branch July 6, 2020 12:38
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@MorrisJobke@jvsalo