Skip to content
Commit b64b0732 authored by Al Viro's avatar Al Viro
Browse files

__ocfs2_add_entry(), ocfs2_prepare_dir_for_insert(): namelen checks



namelen can't be zero; neither when it's coming from dentry name,
nor when dealing with orphans (in ocfs2_orphan_add() and
__ocfs2_prepare_orphan_dir()).  Rudiment of old ext2 pointless
check, long gone in ext2 itself...

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 556f38bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment