Merge tag 'spi-fix-v6.8-merge-window' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-block.git] / io_uring / opdef.c
index 799db44283c7e3782ad451f5ad417547e09d486c..6705634e5f52aa625b797f3c7931903c55130359 100644 (file)
@@ -469,6 +469,12 @@ const struct io_issue_def io_issue_defs[] = {
                .prep                   = io_eopnotsupp_prep,
 #endif
        },
+       [IORING_OP_FIXED_FD_INSTALL] = {
+               .needs_file             = 1,
+               .audit_skip             = 1,
+               .prep                   = io_install_fixed_fd_prep,
+               .issue                  = io_install_fixed_fd,
+       },
 };
 
 const struct io_cold_def io_cold_defs[] = {
@@ -704,6 +710,9 @@ const struct io_cold_def io_cold_defs[] = {
        [IORING_OP_FUTEX_WAITV] = {
                .name                   = "FUTEX_WAITV",
        },
+       [IORING_OP_FIXED_FD_INSTALL] = {
+               .name                   = "FIXED_FD_INSTALL",
+       },
 };
 
 const char *io_uring_get_opcode(u8 opcode)