From: Al Viro Date: Wed, 27 Mar 2013 00:30:17 +0000 (-0400) Subject: vt: synchronize_rcu() under spinlock is not nice... X-Git-Tag: v3.2.43~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c39ea1c36ac173cd07643f91e19671de3fe377e2;p=pandora-kernel.git vt: synchronize_rcu() under spinlock is not nice... commit e8cd81693bbbb15db57d3c9aa7dd90eda4842874 upstream. 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. Signed-off-by: Al Viro Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed