]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfecfa18298bfc75b065e81f5234a339b76279f6e
treed66e591c28ae42327d843e95d67b505d4ea80cfd
parentd238e2b4a84b4ac516ae0197e34987564f3063f1
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