writable ext4 #433
Annotations
11 errors
|
filesystem/ext4/ext4.go#L1508
Error return value of `bs.Set` is not checked (errcheck)
|
util/bitmap.go#L155
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
|
filesystem/ext4/ext4.go#L1472
assignOp: replace `bg = bg % fs.blockGroups` with `bg %= fs.blockGroups` (gocritic)
|
filesystem/ext4/ext4.go#L103
importShadow: shadow of imported from 'io/fs' package 'fs' (gocritic)
|
filesystem/ext4/ext4.go#L675
importShadow: shadow of imported from 'io/fs' package 'fs' (gocritic)
|
filesystem/ext4/ext4.go#L683
importShadow: shadow of imported from 'io/fs' package 'fs' (gocritic)
|
filesystem/ext4/extent.go#L428
appendAssign: append result not assigned to the same slice (gocritic)
|
filesystem/ext4/extent.go#L599
appendAssign: append result not assigned to the same slice (gocritic)
|
filesystem/ext4/ext4.go#L858
Consider pre-allocating `newEntries` (prealloc)
|
util/bitmap.go#L111
var-declaration: should omit type int from declaration of var location; it will be inferred from the right-hand side (revive)
|
This job failed
Loading