split the lookup-related parts of do_last() into a separate helper

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 file changed