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-09 18:32:46 -04:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:47 -07:00
2007-10-17 08:42:57 -07:00
2007-10-17 08:42:50 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:53 -07:00
2007-10-15 17:56:36 -07:00
2007-10-17 08:43:00 -07:00
2007-10-17 08:42:48 -07:00
2007-10-17 08:42:45 -07:00
2007-07-17 10:23:06 -07:00
2007-10-17 08:43:02 -07:00
2007-10-17 08:43:01 -07:00
2007-10-17 08:42:53 -07:00
2007-10-17 08:42:45 -07:00
2007-07-20 10:11:58 +09:00
2007-10-17 08:43:03 -07:00
2007-10-17 08:43:01 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-16 09:43:07 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:43:02 -07:00
2007-10-17 08:42:58 -07:00
2007-10-16 09:43:00 -07:00
2007-07-20 10:11:58 +09:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:43:02 -07:00
2007-10-09 17:17:53 -04:00
2007-10-17 08:42:53 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-16 09:43:10 -07:00
2007-10-17 08:43:00 -07:00
2007-10-17 08:43:02 -07:00
2007-10-17 08:42:53 -07:00
2007-10-17 08:42:45 -07:00
2007-10-14 12:41:51 -07:00
2007-10-17 08:43:00 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:56 -07:00
2007-10-17 08:43:01 -07:00
2007-10-17 08:42:47 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:43:01 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:43:00 -07:00
2007-10-17 08:42:51 -07:00
2007-10-17 08:43:02 -07:00
2007-10-17 08:42:53 -07:00
2007-10-17 08:43:00 -07:00
2007-07-17 12:00:03 -07:00
2007-07-10 08:04:15 +02:00
2007-10-17 08:42:50 -07:00
2007-10-17 08:42:50 -07:00
2007-10-17 08:43:01 -07:00
2007-10-17 08:42:54 -07:00
2007-07-19 10:04:45 -07:00
2007-07-19 10:04:45 -07:00
2007-10-17 08:42:50 -07:00
2007-10-16 11:03:52 +02:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:43:02 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:48 -07:00
2007-07-19 10:04:45 -07:00
2007-10-17 08:43:00 -07:00
2007-07-29 17:09:29 -07:00
2007-10-16 09:42:53 -07:00
2007-07-20 10:11:58 +09:00
2007-10-17 08:42:56 -07:00
2007-07-16 09:05:36 -07:00
2007-07-20 10:11:58 +09:00
2007-10-17 08:42:54 -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-07-17 12:00:03 -07:00
2007-10-17 08:43:02 -07:00
2007-10-17 08:43:00 -07:00
2007-07-16 09:05:48 -07:00
2007-10-17 08:43:00 -07:00
2007-10-17 08:42:53 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:56 -07:00
2007-07-20 10:11:58 +09:00
2007-10-16 09:42:54 -07:00
2007-10-17 08:42:52 -07:00
2007-10-17 08:42:49 -07:00
2007-07-19 10:04:45 -07:00
2007-10-17 08:43:01 -07:00
2007-10-15 17:00:19 +02:00
2007-07-27 15:40:13 -07:00
2007-10-09 18:32:46 -04:00
2007-10-17 08:42:53 -07:00
2007-10-10 16:55:33 -07:00
2007-10-17 08:43:01 -07:00
2007-10-16 10:09:16 -07:00
2007-10-17 08:43:02 -07:00
2007-06-28 11:38:30 -07:00
2007-07-26 11:35:17 -07:00
2007-10-17 08:42:52 -07:00
2007-07-17 12:00:03 -07:00