io_uring: ensure that fsnotify is always called
authorJens Axboe <axboe@kernel.dk>
Sun, 20 Mar 2022 19:08:38 +0000 (13:08 -0600)
committerJens Axboe <axboe@kernel.dk>
Sun, 20 Mar 2022 23:53:38 +0000 (17:53 -0600)
commitf63cf5192fe3418ad5ae1a4412eba5694b145f79
treea352408a142d817237d8f0b63a196b02ef3e5cfc
parentabdad709ed8fe4fd3b865ed1010de37a49601ff4
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>
fs/io_uring.c