]> asedeno.scripts.mit.edu Git - linux.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)
commit2a0b4f64c9edcdcb67306f26d9d08ef982cb0ccd
tree41ff1bb90207bd31a39d5490e1304844c90e39a4
parentf51375cd9e1ad75e9e38186aa0d3749ade7d52a5
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