diff options
| author | Jakob Unterwurzacher | 2026-07-16 21:01:01 +0200 |
|---|---|---|
| committer | Jakob Unterwurzacher | 2026-07-16 21:01:01 +0200 |
| commit | 6a098702f11f1c2c9f5a3d102c56c3b9232719eb (patch) | |
| tree | 96be5dd749db1ba3438c7f2cecd28421efb5da6b /internal/fusefrontend | |
| parent | c3f386d511094362ad5bb28c3a5c6c4f52a77236 (diff) | |
tests/cluster: fix possible fd exhaustion
...and one typo.
Diffstat (limited to 'internal/fusefrontend')
| -rw-r--r-- | internal/fusefrontend/file_allocate_truncate.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
