| tag | bd9828e724f1921ffe2ae19e47222d473eeb0a19 | |
|---|---|---|
| tagger | Jens Axboe <axboe@kernel.dk> | Fri Sep 16 03:04:11 2022 -0600 |
| object | fc7222c3a9f56271fba02aabbfbae999042f1679 |
io_uring-6.0-2022-09-16
| commit | fc7222c3a9f56271fba02aabbfbae999042f1679 | [log] [tgz] |
|---|---|---|
| author | Jens Axboe <axboe@kernel.dk> | Thu Sep 15 11:44:35 2022 -0600 |
| committer | Jens Axboe <axboe@kernel.dk> | Thu Sep 15 11:44:35 2022 -0600 |
| tree | d400007c5ce133367e55caa01cfcfe3d26291559 | |
| parent | 62bb0647b14646fa6c9aa25ecdf67ad18f13523c [diff] |
io_uring/msg_ring: check file type before putting
If we're invoked with a fixed file, follow the normal rules of not
calling io_fput_file(). Fixed files are permanently registered to the
ring, and do not need putting separately.
Cc: stable@vger.kernel.org
Fixes: aa184e8671f0 ("io_uring: don't attempt to IOPOLL for MSG_RING requests")
Signed-off-by: Jens Axboe <axboe@kernel.dk>