Commit 4c1cfca9 authored by Max Kellermann's avatar Max Kellermann

db/update/InotifyUpdate: pass path by value to recursive_watch_subdirectories()

parent e113ce96
...@@ -184,7 +184,7 @@ SkipFilename(Path name) noexcept ...@@ -184,7 +184,7 @@ SkipFilename(Path name) noexcept
static void static void
recursive_watch_subdirectories(WatchDirectory &parent, recursive_watch_subdirectories(WatchDirectory &parent,
const AllocatedPath &path_fs, const Path path_fs,
unsigned depth) unsigned depth)
try { try {
assert(depth <= inotify_max_depth); assert(depth <= inotify_max_depth);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment