diff options
author | Nick Piggin <npiggin@kernel.dk> | 2011-01-07 17:49:21 +1100 |
---|---|---|
committer | Nick Piggin <npiggin@kernel.dk> | 2011-01-07 17:50:17 +1100 |
commit | fbc8d4c04626e015b18cc61199f505920abb48f0 (patch) | |
tree | 31cd59dd54966d225ae159f41308798b2d58b8a2 /fs/9p | |
parent | 5adcee1d8d32d7f305f6f5aaefdbf8f35adca177 (diff) | |
download | op-kernel-dev-fbc8d4c04626e015b18cc61199f505920abb48f0.zip op-kernel-dev-fbc8d4c04626e015b18cc61199f505920abb48f0.tar.gz |
config 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 configfs so as not to do this.
Signed-off-by: Nick Piggin <npiggin@kernel.dk>
Diffstat (limited to 'fs/9p')
0 files changed, 0 insertions, 0 deletions