kernel_optimize_test/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
Makefile