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

main: drop code to handle flock #82

Merged
merged 1 commit into from
Jun 4, 2019

Conversation

giuseppe
Copy link
Member

@giuseppe giuseppe commented Jun 3, 2019

the implementation of flock(2) was wrong and it caused a deadlock when
multiple processes tried to lock the same file.

Drop it and let FUSE handle locking for us.

Closes: #80

Signed-off-by: Giuseppe Scrivano gscrivan@redhat.com

the implementation of flock(2) was wrong and it caused a deadlock when
multiple processes tried to lock the same file.

Drop it and let FUSE handle locking for us.

Closes: containers#80

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
@rhatdan
Copy link
Member

rhatdan commented Jun 4, 2019

LGTM

@rhatdan rhatdan merged commit e32f716 into containers:master Jun 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multiple flock calls on the same filename deadlocks
2 participants