ext4: remove "nokey" check from ext4_lookup()
authorEric Biggers <ebiggers@google.com>
Fri, 7 Apr 2017 17:58:38 +0000 (10:58 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 4 May 2017 15:44:33 +0000 (11:44 -0400)
commit8c68084bff7a852252cf91985fa8111ae4673f91
treeceda8d80e64f8ed57eb6bc08701e2f1c9ec19582
parent272f98f6846277378e1758a49a49d7bf39343c02
ext4: remove "nokey" check from ext4_lookup()

Now that fscrypt_has_permitted_context() correctly handles the case
where we have the key for the parent directory but not the child, we
don't need to try to work around this in ext4_lookup().

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/namei.c