]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
ext4: trim return value and 'dir' argument from ext4_insert_dentry()
authorEric Biggers <ebiggers@google.com>
Sun, 30 Apr 2017 03:27:26 +0000 (23:27 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 30 Apr 2017 03:27:26 +0000 (23:27 -0400)
commit1bc0af600b011dbbf9bbf39664b858ea2e365729
treefd59ad97664de94f429398d0557aa7289d19fc24
parent5052b069acf73866d00077d8bc49983c3ee903e5
ext4: trim return value and 'dir' argument from ext4_insert_dentry()

In the initial implementation of ext4 encryption, the filename was
encrypted in ext4_insert_dentry(), which could fail and also required
access to the 'dir' inode.  Since then ext4 filename encryption has been
changed to encrypt the filename earlier, so we can revert the additions
to ext4_insert_dentry().

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