Re: [PATCH] fs/namei.c. If we way we want zero-length string support, mean it

From: Geert Uytterhoeven
Date: Sun May 29 2016 - 13:14:01 EST


Hi George,

On Sun, May 29, 2016 at 2:12 PM, George Spelvin
<linux@xxxxxxxxxxxxxxxxxxx> wrote:
> From 4b237fc0c5addf58ef0e0bbd3740d64007c36375 Mon Sep 17 00:00:00 2001
> From: George Spelvin <linux@xxxxxxxxxxxxxxxxxxx>
> Date: Sun, 29 May 2016 08:05:56 -0400
> Subject: [PATCH] fs/namei.c. If we way we want zero-length string suppor mean it.
>
> hash_name() is not changed for speed, but the more general
> purpose hashlen_string need to support zero-length strings.
>
> Signed-off-by: George Spelvin <linux@xxxxxxxxxxxxxxxxxxx>
> Fixes: fcfd2fbf22d2587196890103d41e3d554c47da0e

FTR:
Tested-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

test_hash: __hash_32() has no arch implementation to test.
test_hash: hash_32() has no arch implementation to test.
test_hash: hash_64() has no arch implementation to test.
test_hash: 33152 tests passed.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds