Arquivos
linux/fs
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
..
2007-10-17 08:42:47 -07:00
2007-10-17 08:42:45 -07:00
2007-10-15 17:56:36 -07:00
2007-10-17 08:43:02 -07:00
2007-10-17 08:43:03 -07:00
2007-10-16 09:43:07 -07:00
2007-10-17 08:43:02 -07:00
2007-10-17 08:43:02 -07:00
2007-10-17 08:43:01 -07:00
2007-10-17 08:43:02 -07:00
2007-10-17 08:42:53 -07:00
2007-10-17 08:42:54 -07:00
2007-10-17 08:42:45 -07:00
2007-07-19 10:04:45 -07:00
2007-07-29 17:09:29 -07:00
2007-10-16 09:42:53 -07:00
2007-10-17 08:42:56 -07:00
2007-10-17 08:43:01 -07:00
2007-10-17 08:42:48 -07:00
2007-10-17 08:43:02 -07:00
2007-10-17 08:43:02 -07:00
2007-07-16 09:05:48 -07:00
2007-10-16 09:42:54 -07:00
2007-10-17 08:42:52 -07:00
2007-07-19 10:04:45 -07:00
2007-10-15 17:00:19 +02:00
2007-07-27 15:40:13 -07:00
2007-10-17 08:43:01 -07:00
2007-10-17 08:42:52 -07:00