aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext3/namei.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext3/namei.c')
-rw-r--r--fs/ext3/namei.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext3/namei.c b/fs/ext3/namei.c
index 890b8947c546..61fa09eb2501 100644
--- a/fs/ext3/namei.c
+++ b/fs/ext3/namei.c
@@ -624,7 +624,7 @@ int ext3_htree_fill_tree(struct file *dir_file, __u32 start_hash,
624 624
625 dxtrace(printk("In htree_fill_tree, start hash: %x:%x\n", start_hash, 625 dxtrace(printk("In htree_fill_tree, start hash: %x:%x\n", start_hash,
626 start_minor_hash)); 626 start_minor_hash));
627 dir = dir_file->f_path.dentry->d_inode; 627 dir = file_inode(dir_file);
628 if (!(EXT3_I(dir)->i_flags & EXT3_INDEX_FL)) { 628 if (!(EXT3_I(dir)->i_flags & EXT3_INDEX_FL)) {
629 hinfo.hash_version = EXT3_SB(dir->i_sb)->s_def_hash_version; 629 hinfo.hash_version = EXT3_SB(dir->i_sb)->s_def_hash_version;
630 if (hinfo.hash_version <= DX_HASH_TEA) 630 if (hinfo.hash_version <= DX_HASH_TEA)
@@ -638,7 +638,7 @@ int ext3_htree_fill_tree(struct file *dir_file, __u32 start_hash,
638 } 638 }
639 hinfo.hash = start_hash; 639 hinfo.hash = start_hash;
640 hinfo.minor_hash = 0; 640 hinfo.minor_hash = 0;
641 frame = dx_probe(NULL, dir_file->f_path.dentry->d_inode, &hinfo, frames, &err); 641 frame = dx_probe(NULL, file_inode(dir_file), &hinfo, frames, &err);
642 if (!frame) 642 if (!frame)
643 return err; 643 return err;
644 644