summaryrefslogtreecommitdiff
path: root/Documentation/networking/l2tp.txt
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2007-10-16 23:31:01 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 08:43:03 -0700
commitb10099792b6276c31cee4c021e0a5d3f9a9e33ed (patch)
treec90873999de5936d27b0a10e61c4de3b742bf401 /Documentation/networking/l2tp.txt
parente00d2c2d4aead747d0fbee99001b00612d1082b0 (diff)
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>
Diffstat (limited to 'Documentation/networking/l2tp.txt')
0 files changed, 0 insertions, 0 deletions