sendfile: allows bypassing of notifier events
PATCH 1/1 sendfile: allows bypassing of notifier events
From: Scott Wolchok <[email protected]>
Signed-off-by Alan Cox <[email protected]>
Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=12812
---
fs/read_write.c | 2 ++ 1 file changed, 2 insertions(+)
fs/read_write.c +2 -0
@@ -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_access (out.file); }inc_syscr (current);
Quoted 4 lines · Alan Cox
From: Scott Wolchok <[email protected]>
Signed-off-by Alan Cox <[email protected]>Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=12812
Please add a suitable commit message describing the bug and the fix. Pointers to bug reports are good references, but they don't replace a properly written commit message.
Cheers,
Dave.
Signature · 2 lines
Dave Chinner [email protected]