lkml.org 
[lkml]   [2009]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [KVM PATCH v8 1/3] KVM: Fix races in irqfd using new eventfd_kref_get interface
Gregory Haskins wrote:
>
> + eventfd = eventfd_ctx_fileget(file);
> + if (IS_ERR(file)) {
> + ret = PTR_ERR(file);
> + goto fail;
> + }
> +
> + irqfd->eventfd = eventfd;
> +
>

<sigh>

Just noticed the typo (return "eventfd" but error-check "file"). Looks
like I will need at least a v9. Is there any other feedback before I
push out the fix for v8?

-Greg

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2009-07-01 22:23    [W:0.058 / U:0.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site