]> git.baikalelectronics.ru Git - kernel.git/commit
afs: get rid of redundant ->d_name.len checks
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 3 Aug 2013 08:09:34 +0000 (12:09 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 7 Sep 2013 23:54:55 +0000 (19:54 -0400)
commit9e9e5c417f912843a8db2f92dd0f268b180a54fa
tree150b0f5bd55517b16e346c17b5d234e20796d108
parentc991289b02564ffd8c5c171af405717c37f72639
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: Al Viro <viro@zeniv.linux.org.uk>
fs/afs/dir.c