Skip to content
Commit 5adcee1d authored by Nick Piggin's avatar Nick Piggin
Browse files

cgroup fs: avoid switching ->d_op on live dentry



Switching d_op on a live dentry is racy in general, so avoid it. In this case
it is a negative dentry, which is safer, but there are still concurrent ops
which may be called on d_op in that case (eg. d_revalidate). So in general
a filesystem may not do this. Fix cgroupfs so as not to do this.

Signed-off-by: default avatarNick Piggin <npiggin@kernel.dk>
parent 3e880fb5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment