kernel-fxtec-pro1x/fs/fuse
Miklos Szeredi b10099792b fuse: fix page invalidation
Other than truncate, there are two cases, when fuse tries to get rid
of cached pages:

 a) in open, if KEEP_CACHE flag is not set
 b) in getattr, if file size changed spontaneously

Until now invalidate_mapping_pages() were used, which didn't get rid
of mapped pages.  This is wrong, and becomes more wrong as dirty pages
are introduced.  So instead properly invalidate all pages with
invalidate_inode_pages2().

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: fix page invalidation 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: fix page invalidation 2007-10-17 08:43:03 -07:00
Makefile [PATCH] fuse: add control filesystem 2006-06-25 10:01:19 -07:00