lkml.org 
[lkml]   [2023]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 4/5] afs: Zero bytes after 'oldsize' if we're expanding the file
Date
Matthew Wilcox (Oracle) <willy@infradead.org> wrote:

> POSIX requires that "If the file size is increased, the extended area
> shall appear as if it were zero-filled". It is possible to use mmap to
> write past EOF and that data will become visible instead of zeroes.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>

That seems to work. Do you want me to pass it on to Linus? If not:

Acked-by: David Howells <dhowells@redhat.com>

\
 
 \ /
  Last update: 2023-03-27 00:37    [W:1.940 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site