Commit 1b71593b authored by Aaron Jacobs's avatar Aaron Jacobs

Implemented RenumberInodes.

parent a9ebf7fe
......@@ -140,7 +140,12 @@ func (fs *cachingFS) BarID() fuse.InodeID {
}
// LOCKS_EXCLUDED(fs.mu)
func (fs *cachingFS) RenumberInodes()
func (fs *cachingFS) RenumberInodes() {
fs.mu.Lock()
defer fs.mu.Unlock()
fs.baseID += numInodes
}
// LOCKS_EXCLUDED(fs.mu)
func (fs *cachingFS) SetMtime(mtime time.Time) {
......
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