]> git.baikalelectronics.ru Git - kernel.git/commit
afs: Don't invoke the server to read data beyond EOF
authorDavid Howells <dhowells@redhat.com>
Fri, 19 Oct 2018 23:57:57 +0000 (00:57 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 23 Oct 2018 23:41:08 +0000 (00:41 +0100)
commitff3cc9449595ce8879570f1263279be904118218
tree41ff1bb90207bd31a39d5490e1304844c90e39a4
parentd204e535843859606ff80d5a611c43edf08c4e33
afs: Don't invoke the server to read data beyond EOF

When writing a new page, clear space in the page rather than attempting to
load it from the server if the space is beyond the EOF.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/write.c