VFS: use a proper hash function