]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Revalidate the file mapping on all fatal writeback errors
authorTrond Myklebust <trondmy@gmail.com>
Mon, 6 Jan 2020 20:25:01 +0000 (15:25 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 15 Jan 2020 15:54:32 +0000 (10:54 -0500)
commit13bf7cb6da26bc8d34e19b285a6c2a1815f77103
tree0b588913b7f699869dd62fe7fe129977c49d9ea0
parent30787062c6cb9916576a211e184f7fbfcdf8e0d9
NFS: Revalidate the file mapping on all fatal writeback errors

If a write or commit failed, and the mapping sees a fatal error, we
need to revalidate the contents of that mapping.

Fixes: 086c0504f3f8 ("NFS: On fatal writeback errors, we need to call nfs_inode_remove_request()")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/write.c