kernel-ark/fs/fuse
Miklos Szeredi e00d2c2d4a fuse: truncate on spontaneous size change
Memory mappings were only truncated on an explicit truncate, but not when the
file size was changed externally.

Fix this by moving the truncation code from fuse_setattr to
fuse_change_attributes.

Yes, there are races between write and and external truncation, but we can't
really do anything about them.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-17 08:43:03 -07:00
..
control.c [PATCH] mark struct inode_operations const 1 2007-02-12 09:48:46 -08:00
dev.c fuse: add reference counting to fuse_file 2007-10-17 08:43:03 -07:00
dir.c fuse: truncate on spontaneous size change 2007-10-17 08:43:03 -07:00
file.c fuse: add reference counting to fuse_file 2007-10-17 08:43:03 -07:00
fuse_i.h fuse: add reference counting to fuse_file 2007-10-17 08:43:03 -07:00
inode.c fuse: truncate on spontaneous size change 2007-10-17 08:43:03 -07:00
Makefile