]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc40f3f64be5b244f03aa8d5c631ebf7bd935063e
treea352408a142d817237d8f0b63a196b02ef3e5cfc
parentdcdf937d43b8127d94b6aa2ce2672dccce215340
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