Commit b7b85742 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: nfs_invalidate_folio() must observe the offset and size arguments



If we're truncating part of the folio, then we need to write out the
data on the part that is not covered by the cancellation.

Fixes: d47992f8 ("mm: change invalidatepage prototype to accept length")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent ca247c89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment