linux/fs/fuse
Csaba Henk b4c458b3a2 fuse: fix return value of fuse_dev_write()
On 64 bit systems -- where sizeof(ssize_t) > sizeof(int) -- the following test
exposes a bug due to a non-careful return of an int or unsigned value:

implement a FUSE filesystem which sends an unsolicited notification to
the kernel with invalid opcode. The respective write to /dev/fuse
will return (1 << 32) - EINVAL with errno == 0 instead of -1 with
errno == EINVAL.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
CC: stable@kernel.org
2009-06-30 20:06:23 +02:00
..
control.c fuse: style fixes 2008-11-26 12:03:54 +01:00
cuse.c CUSE: implement CUSE - Character device in Userspace 2009-06-09 11:24:11 +02:00
dev.c fuse: fix return value of fuse_dev_write() 2009-06-30 20:06:23 +02:00
dir.c fuse: don't use inode in fuse_sync_release() 2009-04-28 16:56:39 +02:00
file.c fuse: export symbols to be used by CUSE 2009-04-28 16:56:42 +02:00
fuse_i.h fuse: export symbols to be used by CUSE 2009-04-28 16:56:42 +02:00
inode.c fuse doesn't need BKL in ->umount_begin() 2009-06-17 00:36:36 -04:00
Kconfig fs/Kconfig: move fuse out 2009-01-22 13:15:55 +03:00
Makefile CUSE: implement CUSE - Character device in Userspace 2009-06-09 11:24:11 +02:00