alistair23-linux/fs/fuse
Brian Foster eed2179efe fuse: invalidate inode mapping if mtime changes
We currently invalidate the inode address space mapping
if the file size changes unexpectedly. In the case of a
fuse network filesystem, a portion of a file could be
overwritten remotely without changing the file size.
Compare the old mtime as well to detect this condition
and invalidate the mapping if the file has been updated.

The original logic (to ignore changes in mtime) is
preserved unless the client specifies FUSE_AUTO_INVAL_DATA
on init.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
2012-07-18 16:09:40 +02:00
..
control.c fuse: Convert to kstrtoul_from_user 2012-04-25 12:25:05 +02:00
cuse.c fs: add module.h to files that were implicitly using it 2011-10-31 19:30:31 -04:00
dev.c fuse: remove the second argument of k[un]map_atomic() 2012-03-20 21:48:22 +08:00
dir.c fuse: fix blksize calculation 2012-05-14 17:12:56 +02:00
file.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse 2012-06-05 10:11:11 -07:00
fuse_i.h fuse: add FUSE_AUTO_INVAL_DATA init flag 2012-07-18 16:09:40 +02:00
inode.c fuse: invalidate inode mapping if mtime changes 2012-07-18 16:09:40 +02:00
Kconfig
Makefile CUSE: implement CUSE - Character device in Userspace 2009-06-09 11:24:11 +02:00