diff --git a/fs/namei.c b/fs/namei.c index a94a7f9a03eaf9d543fb32620c9a172fdb0c60ec..bd313d680d34ef466af23765413cbd709c540c98 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -1439,10 +1439,10 @@ unsigned int full_name_hash(const unsigned char *name, unsigned int len) for (;;) { a = *(unsigned long *)name; - hash *= 9; if (len < sizeof(unsigned long)) break; hash += a; + hash *= 9; name += sizeof(unsigned long); len -= sizeof(unsigned long); if (!len)