summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorNick Piggin <npiggin@kernel.dk>2011-01-14 03:35:53 +0100
committerNick Piggin <npiggin@hera.kernel.org>2011-01-14 03:35:53 +0100
commitbb20c18db6fbb5e6ba499c76473a487d35073467 (patch)
treeca0426f86e5c2a331bd5006d7f16795711b7ade2 /samples
parentfs: small rcu-walk documentation fixes (diff)
downloadlinux-bb20c18db6fbb5e6ba499c76473a487d35073467.tar.xz
linux-bb20c18db6fbb5e6ba499c76473a487d35073467.zip
fs: force_reval_path drop rcu-walk before d_invalidate
d_revalidate can return in rcu-walk mode even when it returns 0. We can't just call any old dcache function on rcu-walk dentry (the dentry is unstable, so even through d_lock can safely be taken, the result may no longer be what we expect -- careful re-checks would be required). So just drop rcu in this case. (I missed this conversion when switching to the rcu-walk convention that Linus suggested) Signed-off-by: Nick Piggin <npiggin@kernel.dk>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions