Files
Linux/fs
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
..
2005-11-07 07:54:06 -08:00
2005-11-07 07:54:06 -08:00
2005-11-07 07:54:06 -08:00
2005-11-08 16:54:53 +01:00
2005-10-04 13:22:01 -07:00
2005-11-07 07:54:06 -08:00
2005-11-08 16:47:45 +01:00
2006-01-06 08:33:20 -08:00
2005-11-07 07:54:06 -08:00
2005-11-07 07:54:06 -08:00
2005-11-08 16:48:36 +01:00
2005-11-07 07:54:06 -08:00
2006-01-06 08:33:53 -08:00
2006-01-06 08:33:53 -08:00
2006-01-03 13:27:11 +01:00
2005-11-07 07:54:06 -08:00
2005-10-30 17:37:27 -08:00
2005-11-07 07:54:06 -08:00
2005-11-07 07:54:06 -08:00
2005-10-29 21:40:39 -07:00
2006-01-06 08:33:27 -08:00
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:10 -08:00
2005-11-07 07:54:06 -08:00
2005-11-09 07:55:59 -08:00
2005-09-10 10:06:22 -07:00
2005-11-07 18:18:11 -08:00
2005-11-07 18:18:11 -08:00
2005-11-07 07:53:39 -08:00