fusefrontend: Fix debug message in doWrite() method.

This commit is contained in:
Sebastian Lackner 2018-12-31 18:14:14 +01:00 committed by rfjakob
parent 9ed60678e5
commit 5713154468

View File

@ -308,7 +308,7 @@ func (f *File) doWrite(data []byte, off int64) (uint32, fuse.Status) {
tlog.Debug.Printf("len(oldData)=%d len(blockData)=%d", len(oldData), len(blockData)) tlog.Debug.Printf("len(oldData)=%d len(blockData)=%d", len(oldData), len(blockData))
} }
tlog.Debug.Printf("ino%d: Writing %d bytes to block #%d", tlog.Debug.Printf("ino%d: Writing %d bytes to block #%d",
f.qIno.Ino, uint64(len(blockData))-f.contentEnc.BlockOverhead(), b.BlockNo) f.qIno.Ino, len(blockData), b.BlockNo)
// Write into the to-encrypt list // Write into the to-encrypt list
toEncrypt[i] = blockData toEncrypt[i] = blockData
} }