summaryrefslogtreecommitdiffstats
path: root/mm/madvise.c
diff options
context:
space:
mode:
authorNick Piggin <npiggin@kernel.dk>2011-01-14 02:36:19 +0000
committerNick Piggin <npiggin@hera.kernel.org>2011-01-14 02:36:19 +0000
commit90dbb77ba48dddb87445d238e84cd137cf97dd98 (patch)
tree446772602e5944075a6c614db05dd06681f3f3d8 /mm/madvise.c
parentbb20c18db6fbb5e6ba499c76473a487d35073467 (diff)
downloadop-kernel-dev-90dbb77ba48dddb87445d238e84cd137cf97dd98.zip
op-kernel-dev-90dbb77ba48dddb87445d238e84cd137cf97dd98.tar.gz
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>
Diffstat (limited to 'mm/madvise.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud