Rename other copy of hash_string to hashlen_string
authorGeorge Spelvin <linux@sciencehorizons.net>
Sun, 29 May 2016 05:26:41 +0000 (01:26 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 29 May 2016 05:34:33 +0000 (22:34 -0700)
commitf2a031b66ec6da1512f9db228e4174ad2c7d2688
tree236275a5baaf14cb0d703bb1d60757a31223ef49
parent037369b872940cd923835a0a589763180c4a36bc
Rename other copy of hash_string to hashlen_string

The original name was simply hash_string(), but that conflicted with a
function with that name in drivers/base/power/trace.c, and I decided
that calling it "hashlen_" was better anyway.

But you have to do it in two places.

[ This caused build errors for architectures that don't define
  CONFIG_DCACHE_WORD_ACCESS   - Linus ]

Signed-off-by: George Spelvin <linux@sciencehorizons.net>
Reported-by: Guenter Roeck <linux@roeck-us.net>
Fixes: fcfd2fbf22d2 ("fs/namei.c: Add hashlen_string() function")
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/namei.c