Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable19] Fix releasing a shared lock multiple times #21710

Merged
merged 2 commits into from
Jul 6, 2020

Conversation

backportbot-nextcloud[bot]
Copy link

backport of #21074

jvsalo added 2 commits July 6, 2020 12:11
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>
Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

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

Code looks good 👍

Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

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

🐘

@MorrisJobke MorrisJobke merged commit 42d899c into stable19 Jul 6, 2020
@MorrisJobke MorrisJobke deleted the backport/21074/stable19 branch July 6, 2020 20:52
@rullzer rullzer mentioned this pull request Jul 7, 2020
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants