linux/fs/ncpfs
Petr Vandrovec 2e54eb96e2 BKL: Remove BKL from ncpfs
Dozen of changes in ncpfs to provide some locking other than BKL.

In readdir cache unlock and mark complete first page as last operation,
so it can be used for synchronization, as code intended.

When updating dentry name on case insensitive filesystems do at least
some basic locking...

Hold i_mutex when updating inode fields.

Push some ncp_conn_is_valid down to ncp_request.  Connection can become
invalid at any moment, and fewer error code paths to test the better.

Use i_size_{read,write} to modify file size.

Set inode's backing_dev_info as ncpfs has its own special bdi.

In ioctl unbreak ioctls invoked on filesystem mounted 'ro' - tests are
for inode writeable or owner match, but were turned to filesystem
writeable and inode writeable or owner match.  Also collect all permission
checks in single place.

Add some locking, and remove comments saying that it would be cool to
add some locks to the code.

Constify some pointers.

Signed-off-by: Petr Vandrovec <petr@vandrovec.name>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2010-10-04 21:10:52 +02: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 BKL: Remove BKL from ncpfs 2010-10-04 21:10:52 +02:00
file.c BKL: Remove BKL from ncpfs 2010-10-04 21:10:52 +02: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 BKL from ncpfs 2010-10-04 21:10:52 +02:00
ioctl.c BKL: Remove BKL from ncpfs 2010-10-04 21:10:52 +02: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 BKL: Remove BKL from ncpfs 2010-10-04 21:10:52 +02: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