]> git.baikalelectronics.ru Git - 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)
commit298c00ae7618b927e0d6f87185da82babbd67a6c
treefd59ad97664de94f429398d0557aa7289d19fc24
parent05fee6fe2ef22f19cce46c72c395a7d83e7067b6
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