]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/read_write.c
Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-bionic-kernel.git] / fs / read_write.c
index 1edaf099ddd7f28d6dbeb41298269252773ecfa9..bb34af315280328acedfd4122829b3c8125d8a6f 100644 (file)
@@ -935,6 +935,8 @@ ssize_t do_sendfile(int out_fd, int in_fd, loff_t *ppos, size_t count,
        if (retval > 0) {
                add_rchar(current, retval);
                add_wchar(current, retval);
+               fsnotify_access(in.file);
+               fsnotify_modify(out.file);
        }
 
        inc_syscr(current);