diff options
Diffstat (limited to 'fs/ext4/namei.c')
-rw-r--r-- | fs/ext4/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c index f9ed946a448e..bb97ad6905b2 100644 --- a/fs/ext4/namei.c +++ b/fs/ext4/namei.c | |||
@@ -937,7 +937,7 @@ int ext4_htree_fill_tree(struct file *dir_file, __u32 start_hash, | |||
937 | 937 | ||
938 | dxtrace(printk(KERN_DEBUG "In htree_fill_tree, start hash: %x:%x\n", | 938 | dxtrace(printk(KERN_DEBUG "In htree_fill_tree, start hash: %x:%x\n", |
939 | start_hash, start_minor_hash)); | 939 | start_hash, start_minor_hash)); |
940 | dir = dir_file->f_path.dentry->d_inode; | 940 | dir = file_inode(dir_file); |
941 | if (!(ext4_test_inode_flag(dir, EXT4_INODE_INDEX))) { | 941 | if (!(ext4_test_inode_flag(dir, EXT4_INODE_INDEX))) { |
942 | hinfo.hash_version = EXT4_SB(dir->i_sb)->s_def_hash_version; | 942 | hinfo.hash_version = EXT4_SB(dir->i_sb)->s_def_hash_version; |
943 | if (hinfo.hash_version <= DX_HASH_TEA) | 943 | if (hinfo.hash_version <= DX_HASH_TEA) |