summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2012-07-16 15:23:49 -0400
committerMiklos Szeredi <mszeredi@suse.cz>2012-07-18 16:09:40 +0200
commiteed2179efe1aac145bf6d54b925b750976380fa6 (patch)
treeb266220b26632c699a858b66c3d7b9ebc5853289 /include
parent72d0d248ca8232dbd30d35b42d0d86e39b3e322b (diff)
downloadlinux-eed2179efe1aac145bf6d54b925b750976380fa6.tar.gz
linux-eed2179efe1aac145bf6d54b925b750976380fa6.tar.bz2
linux-eed2179efe1aac145bf6d54b925b750976380fa6.zip
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions