io_uring: use correct pointer for io_uring_show_cred()
authorJens Axboe <axboe@kernel.dk>
Thu, 5 Nov 2020 16:50:16 +0000 (09:50 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 5 Nov 2020 16:50:16 +0000 (09:50 -0700)
commit6b47ab81c9a9b56a94882815e9949d40e4207c92
tree0bd11bb0ea105d6af003764f0b585468c2a853b6
parentef9865a442286e2737f37f56eb54c12ef8465905
io_uring: use correct pointer for io_uring_show_cred()

Previous commit changed how we index the registered credentials, but
neglected to update one spot that is used when the personalities are
iterated through ->show_fdinfo(). Ensure we use the right struct type
for the iteration.

Reported-by: syzbot+a6d494688cdb797bdfce@syzkaller.appspotmail.com
Fixes: 1e6fa5216a0e ("io_uring: COW io_identity on mismatch")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c