Thread (2 messages) 2 messages, 2 authors, 2021-01-06

Re: [PATCH] io_uring: Fix return value from alloc_fixed_file_ref_node

From: Jens Axboe <axboe@kernel.dk>
Date: 2021-01-06 16:21:47
Also in: linux-fsdevel

On 1/6/21 9:09 AM, Matthew Wilcox (Oracle) wrote:
alloc_fixed_file_ref_node() currently returns an ERR_PTR on failure.
io_sqe_files_unregister() expects it to return NULL and since it can only
return -ENOMEM, it makes more sense to change alloc_fixed_file_ref_node()
to behave that way.
Applied, thanks.

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help