NFS: On fatal writeback errors, we need to call nfs_inode_remove_request()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 14 Aug 2019 19:42:43 +0000 (15:42 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 19 Aug 2019 12:56:04 +0000 (08:56 -0400)
commit06c9fdf3b9f1acc6e53753c99c54c39764cc979f
tree6a9b577deac17c334a1513034ccd56d7bd03bdbc
parent17d8c5d145000070c581f2a8aa01edc7998582ab
NFS: On fatal writeback errors, we need to call nfs_inode_remove_request()

If the writeback error is fatal, we need to remove the tracking structures
(i.e. the nfs_page) from the inode.

Fixes: 6fbda89b257f ("NFS: Replace custom error reporting mechanism...")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/write.c