Commit f63cf51
committed
io_uring: ensure that fsnotify is always called
Ensure that we call fsnotify_modify() if we write a file, and that we
do fsnotify_access() if we read it. This enables anyone using inotify
on the file to get notified.
Ditto for fallocate, ensure that fsnotify_modify() is called.
Cc: stable@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent abdad70 commit f63cf51
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2973 | 2973 | | |
2974 | 2974 | | |
2975 | 2975 | | |
2976 | | - | |
| 2976 | + | |
2977 | 2977 | | |
| 2978 | + | |
| 2979 | + | |
| 2980 | + | |
| 2981 | + | |
2978 | 2982 | | |
2979 | 2983 | | |
2980 | 2984 | | |
| |||
4537 | 4541 | | |
4538 | 4542 | | |
4539 | 4543 | | |
| 4544 | + | |
| 4545 | + | |
4540 | 4546 | | |
4541 | 4547 | | |
4542 | 4548 | | |
| |||
0 commit comments