Skip to content

Conversation

@riberk
Copy link
Contributor

@riberk riberk commented Oct 20, 2025

This PR fixes #709. Full information about the bug are described in the documentation for the remove_single_descriptor method.

The main problem was, that we tried to remove descriptor from the inotify.watches(), and, if it was completed successfully, it would be deleted from the hash descriptor -> path. But after FS entry deletion its file descriptor is invalidated and causes an error, which interrupts deletion from the hash

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.

Inotify: Removing a subdirectory in a recursively watched directory and then unwatching causes an error

1 participant