sanitize pathname component hash calculation
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 8 Mar 2011 19:17:44 +0000 (14:17 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 14 Mar 2011 13:15:26 +0000 (09:15 -0400)
commit5a202bcd75bbd2397136397961babbd8463416af
tree4a973df44ef169e66ee2aa5eb6c6b7ed69059509
parent6a96ba54418be740303765c0f52be028573cb99a
sanitize pathname component hash calculation

Lift it to lookup_one_len() and link_path_walk() resp. into the
same place where we calculated default hash function of the same
name.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c