Nick Piggin 90dbb77ba4 fs: fix dropping of rcu-walk from force_reval_path
As J. R. Okajima noted, force_reval_path passes in the same dentry to
d_revalidate as the one in the nameidata structure (other callers pass in a
child), so the locking breaks. This can oops with a chrooted nfs mount, for
example. Similarly there can be other problems with revalidating a dentry
which is already in nameidata of the path walk.

Signed-off-by: Nick Piggin <npiggin@kernel.dk>
2011-01-14 02:36:19 +00:00
..
2011-01-07 17:50:26 +11:00
2011-01-07 17:50:26 +11:00
2010-10-29 04:16:13 -04:00
2010-10-29 04:16:28 -04:00
2010-10-29 04:16:28 -04:00
2011-01-07 17:50:26 +11:00
2011-01-07 17:50:26 +11:00
2011-01-07 17:50:26 +11:00
2011-01-07 17:50:26 +11:00
2011-01-07 17:50:26 +11:00
2011-01-07 17:50:21 +11:00
2011-01-07 17:50:26 +11:00
2010-10-29 04:16:13 -04:00
2011-01-07 17:50:26 +11:00
2011-01-07 17:50:26 +11:00
2010-10-29 04:16:31 -04:00
2011-01-07 17:50:26 +11:00
2011-01-07 17:50:26 +11:00
2011-01-07 17:50:26 +11:00
2011-01-07 17:50:26 +11:00
2011-01-07 17:50:26 +11:00
2010-10-25 21:26:11 -04:00
2011-01-07 17:50:33 +11:00
2010-10-29 04:16:28 -04:00
2011-01-07 17:50:26 +11:00
2011-01-07 17:50:32 +11:00
2010-10-15 15:53:27 +02:00
2011-01-07 17:50:27 +11:00
2011-01-07 17:50:33 +11:00
2011-01-07 17:50:33 +11:00
2010-10-28 09:44:56 -07:00
2011-01-07 17:50:21 +11:00
2010-10-28 09:44:56 -07:00
2011-01-07 17:50:33 +11:00
2010-10-29 04:14:56 -04:00
2011-01-07 17:50:33 +11:00
2011-01-07 17:50:33 +11:00
2010-08-09 16:48:44 -04:00
2011-01-07 17:50:33 +11:00
2010-08-09 16:47:43 -04:00