OpenCloudOS-Kernel/fs/ncpfs
Nick Piggin 2fd6b7f507 fs: dcache scale subdirs
Protect d_subdirs and d_child with d_lock, except in filesystems that aren't
using dcache_lock for these anyway (eg. using i_mutex).

Note: if we change the locking rule in future so that ->d_child protection is
provided only with ->d_parent->d_lock, it may allow us to reduce some locking.
But it would be an exception to an otherwise regular locking scheme, so we'd
have to see some good results. Probably not worthwhile.

Signed-off-by: Nick Piggin <npiggin@kernel.dk>
2011-01-07 17:50:21 +11:00
..
Kconfig fs/Kconfig: move the rest of ncpfs out 2009-01-22 13:16:01 +03:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dir.c fs: dcache scale subdirs 2011-01-07 17:50:21 +11:00
file.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
getopt.c fs/ncpfs/getopt.c: cleanup keneldoc 2009-01-06 15:59:19 -08:00
getopt.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inode.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
ioctl.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
mmap.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
ncplib_kernel.c BKL: Remove BKL from ncpfs 2010-10-04 21:10:52 +02:00
ncplib_kernel.h fs: dcache scale subdirs 2011-01-07 17:50:21 +11:00
ncpsign_kernel.c BKL: Remove BKL from ncpfs 2010-10-04 21:10:52 +02:00
ncpsign_kernel.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sock.c BKL: Remove BKL from ncpfs 2010-10-04 21:10:52 +02: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