+24
−26
+6
−5
+5
−5
+0
−7
+0
−1
Loading
Use invalidate_lock instead of fuse's private i_mmap_sem. The intended purpose is exactly the same. By this conversion we fix a long standing race between hole punching and read(2) / readahead(2) paths that can lead to stale page cache contents. CC: Miklos Szeredi <miklos@szeredi.hu> Reviewed-by:Miklos Szeredi <mszeredi@redhat.com> Signed-off-by:
Jan Kara <jack@suse.cz>