]> www.infradead.org Git - users/jedix/linux-maple.git/commit
switch io_msg_ring() to CLASS(fd)
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 15 Nov 2024 03:49:02 +0000 (03:49 +0000)
committerJens Axboe <axboe@kernel.dk>
Fri, 15 Nov 2024 16:55:54 +0000 (09:55 -0700)
commit56cec28dc4da396d6032c59ae9614c5a6ae7d7a8
treebdcb1c4e0c3f1fbc957291695eb4844ac1814fe8
parentb9d69371e8fa90fa3ab100f4fcb4815b13b3673a
switch io_msg_ring() to CLASS(fd)

Use CLASS(fd) to get the file for sync message ring requests, rather
than open-code the file retrieval dance.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20241115034902.GP3387508@ZenIV
[axboe: make a more coherent commit message]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/msg_ring.c