aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorBenjamin Coddington <bcodding@redhat.com>2019-02-06 06:09:43 -0500
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2019-02-12 15:56:28 -0500
commitd2ceb7e57086750ea6198a31fd942d98099a0786 (patch)
tree51c7046fb41b83a1c224a3f6fda41107cadcc945 /net/sunrpc
parentrpc: properly check debugfs dentry before using it (diff)
downloadlinux-dev-d2ceb7e57086750ea6198a31fd942d98099a0786.tar.xz
linux-dev-d2ceb7e57086750ea6198a31fd942d98099a0786.zip
NFS: Don't use page_file_mapping after removing the page
If nfs_page_async_flush() removes the page from the mapping, then we can't use page_file_mapping() on it as nfs_updatepate() is wont to do when receiving an error. Instead, push the mapping to the stack before the page is possibly truncated. Fixes: 8fc75bed96bb ("NFS: Fix up return value on fatal errors in nfs_page_async_flush()") Signed-off-by: Benjamin Coddington <bcodding@redhat.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions