f2fs: sync f2fs_lookup() with ext4_lookup()
authorEric Biggers <ebiggers@google.com>
Fri, 7 Apr 2017 17:58:39 +0000 (10:58 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 4 May 2017 15:44:34 +0000 (11:44 -0400)
commitfaac7fd97e0827f959c9d376399b91b37364a567
treed1b82026f9b99e83a25aa7822cf98df93bc2f64d
parent8c68084bff7a852252cf91985fa8111ae4673f91
f2fs: sync f2fs_lookup() with ext4_lookup()

As for ext4, now that fscrypt_has_permitted_context() correctly handles
the case where we have the key for the parent directory but not the
child, f2fs_lookup() no longer has to work around it.  Also add the same
warning message that ext4 uses.

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