Re: [PATCH] block:Change the function, nvme_alloc_queue to use -ENOMEM for when failing memory allocations

2015-05-13 Thread Keith Busch
On Tue, 12 May 2015, Nicholas Krause wrote: This changes the function,nvme_alloc_queue to use the kernel code, -ENOMEM for when failing to allocate the memory required for the nvme_queue structure pointer,nvme in order to correctly return to the caller the correct reason for this function's

Re: [PATCH] block:Change the function,nvme_alloc_queue to use -ENOMEM for when failing memory allocations

2015-05-13 Thread Matthew Wilcox
On Tue, May 12, 2015 at 07:51:31PM -0400, Nicholas Krause wrote: > This changes the function,nvme_alloc_queue to use the kernel code, > -ENOMEM for when failing to allocate the memory required for the > nvme_queue structure pointer,nvme in order to correctly return > to the caller the correct

Re: [PATCH] block:Change the function,nvme_alloc_queue to use -ENOMEM for when failing memory allocations

2015-05-13 Thread Matthew Wilcox
On Tue, May 12, 2015 at 07:51:31PM -0400, Nicholas Krause wrote: This changes the function,nvme_alloc_queue to use the kernel code, -ENOMEM for when failing to allocate the memory required for the nvme_queue structure pointer,nvme in order to correctly return to the caller the correct reason

Re: [PATCH] block:Change the function, nvme_alloc_queue to use -ENOMEM for when failing memory allocations

2015-05-13 Thread Keith Busch
On Tue, 12 May 2015, Nicholas Krause wrote: This changes the function,nvme_alloc_queue to use the kernel code, -ENOMEM for when failing to allocate the memory required for the nvme_queue structure pointer,nvme in order to correctly return to the caller the correct reason for this function's