android_kernel_xiaomi_sm8350/fs/configfs
Nick Piggin fbc8d4c046 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>
2011-01-07 17:50:17 +11:00
..
configfs_internal.h configfs: Silence lockdep on mkdir() and rmdir() 2009-04-30 10:48:23 -07:00
dir.c config fs: avoid switching ->d_op on live dentry 2011-01-07 17:50:17 +11:00
file.c fs: replace remaining __FUNCTION__ occurrences 2008-04-30 08:29:54 -07:00
inode.c fs: do not assign default i_ino in new_inode 2010-10-25 21:26:11 -04:00
item.c [PATCH] configfs+dlm: Rename config_group_find_obj and state semantics clearly 2007-07-10 17:02:31 -07:00
Kconfig fs/Kconfig: move configfs out 2009-01-22 13:15:56 +03:00
Makefile
mount.c convert get_sb_single() users 2010-10-29 04:16:28 -04:00
symlink.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00