]> 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)
commitf80c63e005b96ac7fd11d6364f9e6955a6a78197
tree41ff1bb90207bd31a39d5490e1304844c90e39a4
parenta401446232e00d094258638b276280f2b9f04471
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