diff options
author | Theodore Ts'o <tytso@mit.edu> | 2019-06-21 16:31:47 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2019-06-21 16:31:47 -0400 |
commit | ddce3b94715ca5a19a107cd7c1d89fea177d2454 (patch) | |
tree | 16f8f2eaf0e29fa678f1fbf12a70dd725173425b /fs/ext4/ext4.h | |
parent | f036adb39976467cf57f577490269594994f9eb4 (diff) |
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>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 5b86df7ec326..83128bdd7abb 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h | |||
@@ -3147,8 +3147,8 @@ extern struct ext4_dir_entry_2 *ext4_init_dot_dotdot(struct inode *inode, | |||
3147 | struct ext4_dir_entry_2 *de, | 3147 | struct ext4_dir_entry_2 *de, |
3148 | int blocksize, int csum_size, | 3148 | int blocksize, int csum_size, |
3149 | unsigned int parent_ino, int dotdot_real_len); | 3149 | unsigned int parent_ino, int dotdot_real_len); |
3150 | extern void initialize_dirent_tail(struct ext4_dir_entry_tail *t, | 3150 | extern void ext4_initialize_dirent_tail(struct buffer_head *bh, |
3151 | unsigned int blocksize); | 3151 | unsigned int blocksize); |
3152 | extern int ext4_handle_dirty_dirblock(handle_t *handle, struct inode *inode, | 3152 | extern int ext4_handle_dirty_dirblock(handle_t *handle, struct inode *inode, |
3153 | struct buffer_head *bh); | 3153 | struct buffer_head *bh); |
3154 | extern int ext4_ci_compare(const struct inode *parent, | 3154 | extern int ext4_ci_compare(const struct inode *parent, |