OSDN Git Service

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)
commit5d8943b04bab62614559f308b4e39533ca7f8e08
tree150b0f5bd55517b16e346c17b5d234e20796d108
parente7d33bb5ea82922e6ddcfc6b28a630b1a4ced071
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