]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ext4 crypto: simplify interfaces to directory entry insert functions
authorTheodore Ts'o <tytso@mit.edu>
Fri, 8 Jan 2016 21:00:31 +0000 (16:00 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 8 Jan 2016 21:00:31 +0000 (16:00 -0500)
commit56a04915df4e85b34b1c1613c64b87dd2283c26a
tree918970d90b7a276a503acd6fa9a3304f590e632c
parentdb7730e3091a52c2fcd8fcc952b964d88998e675
ext4 crypto: simplify interfaces to directory entry insert functions

A number of functions include ext4_add_dx_entry, make_indexed_dir,
etc. are being passed a dentry even though the only thing they use is
the containing parent.  We can shrink the code size slightly by making
this replacement.  This will also be useful in cases where we don't
have a dentry as the argument to the directory entry insert functions.

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