summaryrefslogtreecommitdiffstats
path: root/fs/ext4/namei.c
diff options
context:
space:
mode:
authorGabriel Krisman Bertazi2018-10-02 18:43:51 +0200
committerTheodore Ts'o2018-10-02 18:43:51 +0200
commit799578ab16e86b074c184ec5abbda0bc698c7b0b (patch)
tree6c529385b32a5d235f01200dde33b052f9eca27c /fs/ext4/namei.c
parentext4: fix argument checking in EXT4_IOC_MOVE_EXT (diff)
downloadkernel-qcow2-linux-799578ab16e86b074c184ec5abbda0bc698c7b0b.tar.gz
kernel-qcow2-linux-799578ab16e86b074c184ec5abbda0bc698c7b0b.tar.xz
kernel-qcow2-linux-799578ab16e86b074c184ec5abbda0bc698c7b0b.zip
ext4: fix build error when DX_DEBUG is defined
Enabling DX_DEBUG triggers the build error below. info is an attribute of the dxroot structure. linux/fs/ext4/namei.c:2264:12: error: ‘info’ undeclared (first use in this function); did you mean ‘insl’? info->indirect_levels)); Fixes: e08ac99fa2a2 ("ext4: add largedir feature") Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Lukas Czerner <lczerner@redhat.com>
Diffstat (limited to 'fs/ext4/namei.c')
-rw-r--r--fs/ext4/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c
index 377d516c475f..67a38532032a 100644
--- a/fs/ext4/namei.c
+++ b/fs/ext4/namei.c
@@ -2261,7 +2261,7 @@ again:
dxroot->info.indirect_levels += 1;
dxtrace(printk(KERN_DEBUG
"Creating %d level index...\n",
- info->indirect_levels));
+ dxroot->info.indirect_levels));
err = ext4_handle_dirty_dx_node(handle, dir, frame->bh);
if (err)
goto journal_error;