commit | e8cd81693bbbb15db57d3c9aa7dd90eda4842874 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Tue Mar 26 20:30:17 2013 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Mar 26 20:30:17 2013 -0400 |
tree | f8ba631b03652f9e570fa1e8bd0395af63cf2bb3 | |
parent | 7ea600b5314529f9d1b9d6d3c41cb26fce6a7a4a [diff] |
vt: synchronize_rcu() under spinlock is not nice... vcs_poll_data_free() calls unregister_vt_notifier(), which calls atomic_notifier_chain_unregister(), which calls synchronize_rcu(). Do it *after* we'd dropped ->f_lock. Cc: stable@vger.kernel.org (all kernels since 2.6.37) Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>