Files
android_kernel_fxtec_sm6115/fs
Benjamin Coddington 6c023d86b3 NFS: Don't use page_file_mapping after removing the page
[ Upstream commit d2ceb7e57086750ea6198a31fd942d98099a0786 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-03-23 20:09:45 +01:00
..
2018-11-13 11:08:46 -08:00
2018-08-21 23:54:17 -04:00
2018-12-05 19:32:11 +01:00
2018-12-17 09:24:41 +01:00
2018-08-17 16:20:28 -07:00
2018-08-17 16:20:27 -07:00
2019-02-12 19:47:18 +01:00
2019-03-13 14:02:32 -07:00
2019-02-12 19:47:09 +01:00
2019-03-10 07:17:21 +01:00
2019-03-10 07:17:21 +01:00