]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.2: Handle hole lengths that exceed the READ_PLUS read buffer
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 8 Dec 2020 13:41:01 +0000 (08:41 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 14 Dec 2020 11:51:08 +0000 (06:51 -0500)
commit01fe29b380ab2309894cae8f1cbd562a55f00bd9
tree89c495c87b422246bbce7fb703d2901d6be24f98
parent9076414fdb8da0a7c64242e9f974f38d2d77a2f6
NFSv4.2: Handle hole lengths that exceed the READ_PLUS read buffer

If a hole extends beyond the READ_PLUS read buffer, then we want to fill
just the remaining buffer with zeros. Also ignore eof...

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs42xdr.c