// LOCKS_EXCLUDED(fs.mu) func (fs *fileSystem) GetInodeAttributes( op *fuseops.GetInodeAttributesOp) (err error) { // Find the inode. fs.mu.Lock() in := fs.inodes[op.Inode] fs.mu.Unlock() in.Lock() defer in.Unlock() // Grab its attributes. op.Attributes, err = in.Attributes(op.Context()) if err != nil { return } return }