Skip to content

Commit d83e98f

Browse files
committed
Merge tag 'io_uring-5.12-2021-04-03' of git://git.kernel.dk/linux-block
POull io_uring fix from Jens Axboe: "Just fixing a silly braino in a previous patch, where we'd end up failing to compile if CONFIG_BLOCK isn't enabled. Not that a lot of people do that, but kernel bot spotted it and it's probably prudent to just flush this out now before -rc6. Sorry about that, none of my test compile configs have !CONFIG_BLOCK" * tag 'io_uring-5.12-2021-04-03' of git://git.kernel.dk/linux-block: io_uring: fix !CONFIG_BLOCK compilation failure
2 parents 8e29be3 + e82ad48 commit d83e98f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

fs/io_uring.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2479,6 +2479,11 @@ static bool io_rw_should_reissue(struct io_kiocb *req)
24792479
return false;
24802480
return true;
24812481
}
2482+
#else
2483+
static bool io_rw_should_reissue(struct io_kiocb *req)
2484+
{
2485+
return false;
2486+
}
24822487
#endif
24832488

24842489
static bool io_rw_reissue(struct io_kiocb *req)

0 commit comments

Comments
 (0)