[0/2] filemonitor: fix watch ID allocation for directories
mbox series

Message ID 20190314151527.25533-1-berrange@redhat.com
Headers show
Series
  • filemonitor: fix watch ID allocation for directories
Related show

Message

Daniel P. Berrangé March 14, 2019, 3:15 p.m. UTC
This fixes an problem with watch ID allocation identified by the USB MTP
device usage of watches on subdirectories.

Daniel P. Berrangé (2):
  tests: refactor file monitor test to make it more understandable
  filemon: ensure watch IDs are unique to QFileMonitor scope

 tests/test-util-filemonitor.c | 626 +++++++++++++++++-----------------
 util/filemonitor-inotify.c    |   5 +-
 2 files changed, 306 insertions(+), 325 deletions(-)