alistair23-linux/fs/fuse
Miklos Szeredi 1d3d752b47 [PATCH] fuse: clean up request size limit checking
Change the way a too large request is handled.  Until now in this case the
device read returned -EINVAL and the operation returned -EIO.

Make it more flexibible by not returning -EINVAL from the read, but restarting
it instead.

Also remove the fixed limit on setxattr data and let the filesystem provide as
large a read buffer as it needs to handle the extended attribute data.

The symbolic link length is already checked by VFS to be less than PATH_MAX,
so the extra check against FUSE_SYMLINK_MAX is not needed.

The check in fuse_create_open() against FUSE_NAME_MAX is not needed, since the
dentry has already been looked up, and hence the name already checked.

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-06 08:33:56 -08:00
..
dev.c [PATCH] fuse: clean up request size limit checking 2006-01-06 08:33:56 -08:00
dir.c [PATCH] fuse: clean up request size limit checking 2006-01-06 08:33:56 -08:00
file.c [PATCH] fuse: fail file operations on bad inode 2006-01-06 08:33:55 -08:00
fuse_i.h [PATCH] fuse: clean up request size limit checking 2006-01-06 08:33:56 -08:00
inode.c [PATCH] fuse: clean up request size limit checking 2006-01-06 08:33:56 -08:00
Makefile [PATCH] FUSE - file operations 2005-09-09 14:03:45 -07:00