Re: [PATCH] posix_acl: fix reference leaks in posix_acl_create

From: Christoph Hellwig
Date: Wed Jan 28 2015 - 16:32:55 EST


On Mon, Jan 26, 2015 at 10:16:53PM -0800, Omar Sandoval wrote:
> get_acl gets a reference which we must release in the error cases.
>
> Signed-off-by: Omar Sandoval <osandov@xxxxxxxxxxx>

Looks good, but at this point goto-based unwinding might be in order.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/