summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2019-06-21 21:57:00 -0400
committerTheodore Ts'o <tytso@mit.edu>2019-06-21 21:57:00 -0400
commit7633b08b2750513cef662fbcbe66065b9940fc6a (patch)
tree193ee94be04c124dffc895a9e21f68f6de795c4e
parentddce3b94715ca5a19a107cd7c1d89fea177d2454 (diff)
ext4: rename htree_inline_dir_to_tree() to ext4_inlinedir_to_tree()
Clean up namespace pollution by the inline_data code. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r--fs/ext4/ext4.h10
-rw-r--r--fs/ext4/inline.c10
-rw-r--r--fs/ext4/namei.c8
3 files changed, 14 insertions, 14 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index 83128bdd7abb..bf660aa7a9e0 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -3104,11 +3104,11 @@ extern int ext4_try_create_inline_dir(handle_t *handle,
3104extern int ext4_read_inline_dir(struct file *filp, 3104extern int ext4_read_inline_dir(struct file *filp,
3105 struct dir_context *ctx, 3105 struct dir_context *ctx,
3106 int *has_inline_data); 3106 int *has_inline_data);
3107extern int htree_inlinedir_to_tree(struct file *dir_file, 3107extern int ext4_inlinedir_to_tree(struct file *dir_file,
3108 struct inode *dir, ext4_lblk_t block, 3108 struct inode *dir, ext4_lblk_t block,
3109 struct dx_hash_info *hinfo, 3109 struct dx_hash_info *hinfo,
3110 __u32 start_hash, __u32 start_minor_hash, 3110 __u32 start_hash, __u32 start_minor_hash,
3111 int *has_inline_data); 3111 int *has_inline_data);
3112extern struct buffer_head *ext4_find_inline_entry(struct inode *dir, 3112extern struct buffer_head *ext4_find_inline_entry(struct inode *dir,
3113 struct ext4_filename *fname, 3113 struct ext4_filename *fname,
3114 struct ext4_dir_entry_2 **res_dir, 3114 struct ext4_dir_entry_2 **res_dir,
diff --git a/fs/ext4/inline.c b/fs/ext4/inline.c
index 796137bb7dfa..88cdf3c90bd1 100644
--- a/fs/ext4/inline.c
+++ b/fs/ext4/inline.c
@@ -1324,11 +1324,11 @@ out:
1324 * inlined dir. It returns the number directory entries loaded 1324 * inlined dir. It returns the number directory entries loaded
1325 * into the tree. If there is an error it is returned in err. 1325 * into the tree. If there is an error it is returned in err.
1326 */ 1326 */
1327int htree_inlinedir_to_tree(struct file *dir_file, 1327int ext4_inlinedir_to_tree(struct file *dir_file,
1328 struct inode *dir, ext4_lblk_t block, 1328 struct inode *dir, ext4_lblk_t block,
1329 struct dx_hash_info *hinfo, 1329 struct dx_hash_info *hinfo,
1330 __u32 start_hash, __u32 start_minor_hash, 1330 __u32 start_hash, __u32 start_minor_hash,
1331 int *has_inline_data) 1331 int *has_inline_data)
1332{ 1332{
1333 int err = 0, count = 0; 1333 int err = 0, count = 0;
1334 unsigned int parent_ino; 1334 unsigned int parent_ino;
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c
index 183ad614ae3d..c9568fee9e11 100644
--- a/fs/ext4/namei.c
+++ b/fs/ext4/namei.c
@@ -1104,10 +1104,10 @@ int ext4_htree_fill_tree(struct file *dir_file, __u32 start_hash,
1104 hinfo.seed = EXT4_SB(dir->i_sb)->s_hash_seed; 1104 hinfo.seed = EXT4_SB(dir->i_sb)->s_hash_seed;
1105 if (ext4_has_inline_data(dir)) { 1105 if (ext4_has_inline_data(dir)) {
1106 int has_inline_data = 1; 1106 int has_inline_data = 1;
1107 count = htree_inlinedir_to_tree(dir_file, dir, 0, 1107 count = ext4_inlinedir_to_tree(dir_file, dir, 0,
1108 &hinfo, start_hash, 1108 &hinfo, start_hash,
1109 start_minor_hash, 1109 start_minor_hash,
1110 &has_inline_data); 1110 &has_inline_data);
1111 if (has_inline_data) { 1111 if (has_inline_data) {
1112 *next_hash = ~0; 1112 *next_hash = ~0;
1113 return count; 1113 return count;