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

afs: get rid of redundant ->d_name.len checks



No dentry can get to directory modification methods without
having passed either ->lookup() or ->atomic_open(); if name is
rejected by those two (or by ->d_hash()) with an error, it won't
be seen by anything else.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent e7d33bb5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment