]> 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)
commit2b997354eba32a3c0652c58cc720cb90586a14f2
treedf5c2374fb5b221a61a37977754644521c80b8cb
parentb98bf0f8396ef5dfbd3a3d866591e4925dcbd42a
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