contentenc: downgrade "interrupted write?" warning to debug
This can happen during normal operation, and is harmless since
14038a1644
"fusefrontend: readFileID: reject files that consist only of a header"
causes dormant header-only files to be rewritten on the next write.
This commit is contained in:
parent
9768376bd1
commit
1a89919d80
@ -39,7 +39,8 @@ func (be *ContentEnc) CipherSizeToPlainSize(cipherSize uint64) uint64 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if cipherSize == HeaderLen {
|
if cipherSize == HeaderLen {
|
||||||
tlog.Warn.Printf("cipherSize %d == header size: interrupted write?\n", cipherSize)
|
// This can happen between createHeader() and Write() and is harmless.
|
||||||
|
tlog.Debug.Printf("cipherSize %d == header size: interrupted write?\n", cipherSize)
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user