ext4: refactor initialize_dirent_tail()
authorTheodore Ts'o <tytso@mit.edu>
Fri, 21 Jun 2019 20:31:47 +0000 (16:31 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 21 Jun 2019 20:31:47 +0000 (16:31 -0400)
commitddce3b94715ca5a19a107cd7c1d89fea177d2454
tree16f8f2eaf0e29fa678f1fbf12a70dd725173425b
parentf036adb39976467cf57f577490269594994f9eb4
ext4: refactor initialize_dirent_tail()

Move the calculation of the location of the dirent tail into
initialize_dirent_tail().  Also prefix the function with ext4_ to fix
kernel namepsace polution.

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