]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.2: decode_read_plus_hole() needs to check the extent offset
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 8 Dec 2020 13:14:55 +0000 (08:14 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 14 Dec 2020 11:51:07 +0000 (06:51 -0500)
commit9076414fdb8da0a7c64242e9f974f38d2d77a2f6
tree86354d160189f954db5923191adc0f505a78611b
parentbd5d89d9b6bd34c36cedc922b326395a4a64f69e
NFSv4.2: decode_read_plus_hole() needs to check the extent offset

The server is allowed to return a hole extent with an offset that starts
before the offset supplied in the READ_PLUS argument. Ensure that we
support that case too.

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