Trond Myklebust 383ba71938 NFS: Fix a deadlock with lazy umount
We can't allow rpc callback functions like task->tk_ops->rpc_call_prepare()
and task->tk_ops->rpc_call_done() to call mntput() in any way, since
that will cause a deadlock when the call to rpc_shutdown_client() attempts
to wait on 'task' to complete.

We can avoid the above deadlock by moving calls to mntput to
task->tk_ops->rpc_release() callback, since at that time the task will be
marked as completed, and so rpc_shutdown_client won't attempt to wait on
it.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2008-02-25 21:40:33 -08:00
..
2008-02-08 09:22:39 -08:00
2008-02-08 09:22:39 -08:00
2008-02-08 09:22:40 -08:00
2008-02-14 21:13:33 -08:00
2008-02-08 09:22:40 -08:00
2008-02-14 21:13:33 -08:00
2008-02-14 21:13:33 -08:00
2008-02-14 21:13:33 -08:00
2008-02-08 09:22:40 -08:00
2008-02-21 15:19:54 -06:00
2008-02-14 21:13:33 -08:00
2007-10-22 08:13:21 -07:00
2008-02-08 09:22:40 -08:00
2008-02-14 21:13:33 -08:00
2008-02-14 21:13:33 -08:00
2008-02-08 09:22:40 -08:00
2008-02-23 17:12:13 -08:00
2008-02-14 21:13:33 -08:00
2008-02-08 09:22:40 -08:00
2008-02-08 09:22:40 -08:00
2008-02-08 09:22:40 -08:00
2008-02-25 21:40:33 -08:00
2007-10-18 14:37:31 -07:00
2008-02-14 21:13:33 -08:00
2008-02-13 16:21:20 -08:00
2008-02-19 10:04:00 +01:00
2008-01-30 13:31:46 +01:00
2008-02-14 21:13:33 -08:00
2008-02-05 09:44:07 -08:00
2008-02-14 21:13:33 -08:00
2007-05-21 09:18:19 -07:00
2007-05-08 11:15:01 -07:00
2008-02-14 21:13:33 -08:00
2008-02-06 10:41:07 -08:00
2007-05-08 11:15:09 -07:00
2008-02-05 14:37:15 -08:00
2008-01-30 13:31:46 +01:00
2008-02-14 21:13:33 -08:00
2008-02-14 21:13:33 -08:00
2008-02-13 16:21:19 -08:00
2008-02-06 10:41:02 -08:00
2008-02-14 21:13:33 -08:00
2008-02-05 09:44:07 -08:00
2008-02-14 21:13:33 -08:00
2008-02-14 21:13:33 -08:00