From: Xiaoming Ni nixiaoming@huawei.com
mainline inclusion from mainline-5.8-rc1 commit 8469508951d4a324b2df3b5bad75e99922c3b798 category: feature bugzilla: https://bugzilla.openeuler.org/show_bug.cgi?id=27 CVE: NA ---------------------------
Remove duplicate semicolon at the end of line in io_file_from_index()
Signed-off-by: Xiaoming Ni nixiaoming@huawei.com Signed-off-by: Jens Axboe axboe@kernel.dk Signed-off-by: yangerkun yangerkun@huawei.com Reviewed-by: zhangyi (F) yi.zhang@huawei.com Signed-off-by: Cheng Jian cj.chengjian@huawei.com --- fs/io_uring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/io_uring.c b/fs/io_uring.c index bc6d5c03c3c9..d6b9c7a9e5c4 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -5301,7 +5301,7 @@ static inline struct file *io_file_from_index(struct io_ring_ctx *ctx, struct fixed_file_table *table;
table = &ctx->file_data->table[index >> IORING_FILE_TABLE_SHIFT]; - return table->files[index & IORING_FILE_TABLE_MASK];; + return table->files[index & IORING_FILE_TABLE_MASK]; }
static int io_file_get(struct io_submit_state *state, struct io_kiocb *req,