summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-05-08 21:27:24 -0600
committerJens Axboe <axboe@kernel.dk>2020-05-08 21:27:24 -0600
commit904fbcb115c85090484dfdffaf7f461d96fe8e53 (patch)
tree93bc8a4861d42322c8261b29d146e826b8145fa5 /scripts/gdb/linux
parent63ff822358b276137059520cf16e587e8073e80f (diff)
io_uring: remove 'fd is io_uring' from close path
The attempt protecting us from closing the ring itself wasn't really complete, and we actually don't need it. The referencing of requests themselve, and the references they hold on the ring, ensures that the life time of the ring is sane. With the check removed, we can also remove the need to have the close operation fget() the file. Reported-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions