bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Check for a return value in netfs_make_peropen before using


From: Samuel Thibault
Subject: Re: [PATCH] Check for a return value in netfs_make_peropen before using it in netfs_make_protid.
Date: Sun, 7 Feb 2016 23:08:49 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Flavio Cruz, on Sun 07 Feb 2016 09:19:38 -0500, wrote:
> +  po = netfs_make_peropen (node, flags, cookie2);
> +  if (! po)
> +    return ENOMEM;

I'd say rather return errno.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]