diff options
author | Jakob Unterwurzacher | 2016-02-06 12:27:09 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-02-06 12:27:55 +0100 |
commit | adcfbd79a8b8bb85cbee25996ab622a05de0dbc1 (patch) | |
tree | 975b053ba075ba1d6ec5236dd580848a39334b1b /pathfs_frontend/fs_dir.go | |
parent | 1573efec98bd96a078afdf5d1584436b07dac165 (diff) |
Rename DirIVCacheEnc to just DirIVCache
...and unexport dirIVCache
Diffstat (limited to 'pathfs_frontend/fs_dir.go')
-rw-r--r-- | pathfs_frontend/fs_dir.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pathfs_frontend/fs_dir.go b/pathfs_frontend/fs_dir.go index 9d2d2c9..b1edd73 100644 --- a/pathfs_frontend/fs_dir.go +++ b/pathfs_frontend/fs_dir.go @@ -29,7 +29,7 @@ func (fs *FS) Mkdir(relPath string, mode uint32, context *fuse.Context) (code fu mode = mode | 0300 // The new directory may take the place of an older one that is still in the cache - fs.CryptFS.DirIVCacheEnc.Clear() + fs.CryptFS.DirIVCache.Clear() // Create directory fs.dirIVLock.Lock() defer fs.dirIVLock.Unlock() @@ -148,6 +148,6 @@ func (fs *FS) Rmdir(name string, context *fuse.Context) (code fuse.Status) { cryptfs.Warn.Printf("Rmdir: Could not clean up %s: %v", tmpName, err) } // The now-deleted directory may have been in the DirIV cache. Clear it. - fs.CryptFS.DirIVCacheEnc.Clear() + fs.CryptFS.DirIVCache.Clear() return fuse.OK } |