2021-09-10 | Paul Boddie | raw files shortlog changelog graph | Added missing attach invocation. Note that the pager calls attach on the mapper. | |
libfsserver/lib/files/file_paging.cc (file) |
1.1 --- a/libfsserver/lib/files/file_paging.cc Wed Sep 08 01:18:00 2021 +0200 1.2 +++ b/libfsserver/lib/files/file_paging.cc Fri Sep 10 00:49:32 2021 +0200 1.3 @@ -76,7 +76,11 @@ 1.4 return; 1.5 1.6 _mappers[fileid] = mapper; 1.7 - _notifiers[fileid] = new FileNotification; 1.8 + 1.9 + FileNotification *notifier = new FileNotification; 1.10 + 1.11 + _notifiers[fileid] = notifier; 1.12 + notifier->attach(); 1.13 } 1.14 1.15