ext4 crypto: simplify interfaces to directory entry insert functions
authorTheodore Ts'o <tytso@google.com>
Wed, 17 Feb 2016 01:16:47 +0000 (20:16 -0500)
committerIan Chang <ianc@nvidia.com>
Wed, 1 Jun 2016 05:00:06 +0000 (13:00 +0800)
commit352a234a894606066b4e79de99d646b7f8beb9fe
tree41f49f3e4643bcfc545353c23944e3dc7c259933
parenta66557ec900e1155c120ba9e4d6f012a666a603e
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 maing
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>
Signed-off-by: "Theodore Ts'o" <tytso@google.com>
Change-Id: I9267c577ab4d7d60e34cbf37c71eaf443e637c5f
Reviewed-on: http://git-master/r/1154519
Reviewed-by: Ian Chang <ianc@nvidia.com>
Tested-by: Ian Chang <ianc@nvidia.com>
fs/ext4/ext4.h
fs/ext4/inline.c
fs/ext4/namei.c