chore(fs): linter complaints

This commit is contained in:
Jakob Borg
2025-06-06 13:45:44 +02:00
parent 700bb75016
commit 10d20c4800
15 changed files with 44 additions and 38 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ var xattrBufPool = sync.Pool{
}
func getXattr(path, name string) ([]byte, error) {
buf := xattrBufPool.Get().([]byte)
buf := xattrBufPool.Get().([]byte) //nolint:forcetypeassert
defer func() {
// Put the buffer back in the pool, or not if we're not supposed to
// (we returned it to the caller).