Just the three insertions of delete's into fs-ext.cc to fix the memory leaks for the flock() and seek() APIs. But then also feature/function tests for those APIs, as well as stress tests that show the memory leak (when the fixes are removed).
Next to be done:
work up utime() API
figure out how seek() can return the new/current file position just like lseek() does
figure out how to use write and read I/O to really test seek positioning
figure out meaningful tests of lock contention (something about two different open's?)
argue coherently on why we shouldn't use/supply system constants (e.g. LOCK_SH, SEEK_SET) to users, but use only strings like you do and have observed others do
Just the three insertions of delete's into fs-ext.cc to fix the memory leaks for the flock() and seek() APIs. But then also feature/function tests for those APIs, as well as stress tests that show the memory leak (when the fixes are removed).
Next to be done: