kernel-fxtec-pro1x/fs/fuse
Miklos Szeredi 8d56addd70 fuse: fix truncate after open
Commit e1181ee6 "vfs: pass struct file to do_truncate on O_TRUNC
opens" broke the behavior of open(O_TRUNC|O_RDONLY) in fuse.  Fuse
assumed that when called from open, a truncate() will be done, not an
ftruncate().

Fix by restoring the old behavior, based on the ATTR_OPEN flag.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
2011-02-25 14:44:58 +01:00
..
control.c convert get_sb_single() users 2010-10-29 04:16:28 -04:00
cuse.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
dev.c fuse: allow batching of FORGET requests 2010-12-07 20:16:56 +01:00
dir.c fuse: fix truncate after open 2011-02-25 14:44:58 +01:00
file.c fuse: fix hang of single threaded fuseblk filesystem 2011-02-25 14:44:58 +01:00
fuse_i.h fuse: fix hang of single threaded fuseblk filesystem 2011-02-25 14:44:58 +01:00
inode.c switch fuse 2011-01-12 20:02:44 -05: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