ext4: clean up ext4_match() and callers
authorEric Biggers <ebiggers@google.com>
Mon, 24 Apr 2017 17:00:13 +0000 (10:00 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 4 May 2017 15:44:40 +0000 (11:44 -0400)
commitd9b9f8d5a88cb7881d9f1c2b7e9de9a3fe1dc9e2
treed66e591c28ae42327d843e95d67b505d4ea80cfd
parent1f73d491779047e81fff047c4613e84d5d76ddae
ext4: clean up ext4_match() and callers

When ext4 encryption was originally merged, we were encrypting the
user-specified filename in ext4_match(), introducing a lot of additional
complexity into ext4_match() and its callers.  This has since been
changed to encrypt the filename earlier, so we can remove the gunk
that's no longer needed.  This more or less reverts ext4_search_dir()
and ext4_find_dest_de() to the way they were in the v4.0 kernel.

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