diff options
author | Nick Piggin <npiggin@kernel.dk> | 2011-01-07 17:49:20 +1100 |
---|---|---|
committer | Nick Piggin <npiggin@kernel.dk> | 2011-01-07 17:50:17 +1100 |
commit | 5adcee1d8d32d7f305f6f5aaefdbf8f35adca177 (patch) | |
tree | 9292ebc9bb6a21b364a97a44d1b6857a565159c5 /fs | |
parent | 3e880fb5e4bb6a012035e3edd0586ee2817c2e24 (diff) | |
download | linux-stable-5adcee1d8d32d7f305f6f5aaefdbf8f35adca177.tar.gz linux-stable-5adcee1d8d32d7f305f6f5aaefdbf8f35adca177.tar.bz2 linux-stable-5adcee1d8d32d7f305f6f5aaefdbf8f35adca177.zip |
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: Nick Piggin <npiggin@kernel.dk>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions