aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorSebastian Lackner2018-12-31 18:14:14 +0100
committerrfjakob2019-01-01 16:12:42 +0100
commit5713154468e141406581a330ff7dd1fcd392da82 (patch)
treec1f7b2d774285f23bbc9283883a8c0ee2fcb0ecb /internal
parent9ed60678e54c82e2522b719920f7c7a490bab3e5 (diff)
fusefrontend: Fix debug message in doWrite() method.
Diffstat (limited to 'internal')
-rw-r--r--internal/fusefrontend/file.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/fusefrontend/file.go b/internal/fusefrontend/file.go
index fc8c678..a0b82ba 100644
--- a/internal/fusefrontend/file.go
+++ b/internal/fusefrontend/file.go
@@ -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("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
toEncrypt[i] = blockData
}