diff options
| author | Jens Axboe <axboe@kernel.dk> | 2020-04-03 13:54:26 -0600 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2020-04-03 13:56:44 -0600 |
| commit | c336e992cb1cb1db9ee608dfb30342ae781057ab (patch) | |
| tree | 319d1122679a2a6167f644c03f73c6f408b9a097 /lib/timerqueue.c | |
| parent | aa96bf8a9ee33457b7e3ea43e97dfa1e3a15ab20 (diff) | |
io_uring: remove bogus RLIMIT_NOFILE check in file registration
We already checked this limit when the file was opened, and we keep it
open in the file table. Hence when we added unit_inflight to the count
we want to register, we're doubly accounting these files. This results
in -EMFILE for file registration, if we're at half the limit.
Cc: stable@vger.kernel.org # v5.1+
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
