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(-) -- 2.20.1