]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Don't call generic_error_remove_page() while holding locks
authorTrond Myklebust <trondmy@gmail.com>
Sun, 7 Apr 2019 17:59:03 +0000 (13:59 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 25 Apr 2019 18:18:14 +0000 (14:18 -0400)
commitc25ced2618baa2e046feb0340b8e879f5a930cb3
treedf5c2374fb5b221a61a37977754644521c80b8cb
parentc7f05cdf8baae3fded83cc9c494a92e1a48bc7d4
NFS: Don't call generic_error_remove_page() while holding locks

The NFS read code can trigger writeback while holding the page lock.
If an error then triggers a call to nfs_write_error_remove_page(),
we can deadlock.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/write.c