io_uring: don't check req->file in io_fsync_prep()
authorJens Axboe <axboe@kernel.dk>
Wed, 30 Mar 2022 17:06:02 +0000 (11:06 -0600)
committerJens Axboe <axboe@kernel.dk>
Sun, 3 Apr 2022 23:07:54 +0000 (17:07 -0600)
commitec858afda857e361182ceafc3d2ba2b164b8e889
treee2a9807f149cd20c0cd240fd57478c898a9712d5
parent3123109284176b1532874591f7c81f3837bbdc17
io_uring: don't check req->file in io_fsync_prep()

This is a leftover from the really old days where we weren't able to
track and error early if we need a file and it wasn't assigned. Kill
the check.

Cc: stable@vger.kernel.org # v5.15+
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c