]> 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)
commita2892e96143743a0841332af4022aaf7ed84ad6e
tree150b0f5bd55517b16e346c17b5d234e20796d108
parentd69c2f661cfd3472aeb73c1be2fbadba0fccc070
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