Re: [RFC] globmatch() helper function

From: Tejun Heo
Date: Wed Dec 17 2008 - 11:23:06 EST


Hello,

George Spelvin wrote:
> Do people think that would be, on balance, better? It would be plenty
> good enough for the blacklist application.

Just pass a depth parameter and trigger WARN_ON() and return -EINVAL
when it exceeds ten. It's a five minute change and should be enough
for kernel usages.

Thanks.

--
tejun
--
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/