From a16f4a13677d13b0aae9327a3b9e8414470b7927 Mon Sep 17 00:00:00 2001 From: Ivan Romanov Date: Mon, 15 Oct 2012 12:41:36 -0400 Subject: [PATCH] Exportfs crashes with long path Acked-by: Bruce Fields Signed-off-by: Steve Dickson --- support/export/export.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/export/export.c b/support/export/export.c index 4fda30a..0257903 100644 --- a/support/export/export.c +++ b/support/export/export.c @@ -357,7 +357,7 @@ strtoint(char *str) static int export_hash(char *str) { - int num = strtoint(str); + unsigned int num = strtoint(str); return num % HASH_TABLE_SIZE; } -- 2.39.5