From 60945d0a37933c6b6cf18add33e86d90d70cba73 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sat, 18 Nov 2017 15:49:50 +0000 Subject: [PATCH] vfs: remove misleading comment --- vfs/read.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/vfs/read.go b/vfs/read.go index bd0b68cf0..80d2d777c 100644 --- a/vfs/read.go +++ b/vfs/read.go @@ -214,9 +214,6 @@ func (fh *ReadFileHandle) readAt(p []byte, off int64) (n int, err error) { if reqSize > 0 { fh.readCalled = true } - // One exception to the above is if we fail to fully populate a - // page cache page; a read into page cache is always page aligned. - // Make sure we never serve a partial read, to avoid that. n, err = io.ReadFull(fh.r, p) newOffset = fh.offset + int64(n) // if err == nil && rand.Intn(10) == 0 {