From 67e9abeb2830c517cbcbbd93de184055b2d4227b Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Thu, 16 Jul 2026 21:01:01 +0200 Subject: tests/cluster: fix possible fd exhaustion ...and one typo. --- internal/fusefrontend/file_allocate_truncate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/fusefrontend') diff --git a/internal/fusefrontend/file_allocate_truncate.go b/internal/fusefrontend/file_allocate_truncate.go index ecef0f1..ad02041 100644 --- a/internal/fusefrontend/file_allocate_truncate.go +++ b/internal/fusefrontend/file_allocate_truncate.go @@ -126,7 +126,7 @@ func (f *File) truncate(newSize uint64) (errno syscall.Errno) { return fs.ToErrno(syscall.Ftruncate(int(f.fd.Fd()), contentenc.HeaderLen)) } // We don't have the file ID cached, so the file may be empty on disk. - // We dont't want to grow it, as this will create an all-zero header. + // We don't want to grow it, as this will create an all-zero header. fi, err := f.fd.Stat() if err != nil { return fs.ToErrno(err) -- cgit v1.2.3