Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-15555 ldiskfs: large directory causes htree corruption
[fs/lustre-release.git]
/
ldiskfs
/
kernel_patches
/
patches
/
linux-5.4
/
ext4-kill-dx-root.patch
diff --git
a/ldiskfs/kernel_patches/patches/linux-5.4/ext4-kill-dx-root.patch
b/ldiskfs/kernel_patches/patches/linux-5.4/ext4-kill-dx-root.patch
index
0b071b9
..
b783219
100644
(file)
--- a/
ldiskfs/kernel_patches/patches/linux-5.4/ext4-kill-dx-root.patch
+++ b/
ldiskfs/kernel_patches/patches/linux-5.4/ext4-kill-dx-root.patch
@@
-232,7
+232,7
@@
index a1db7ce..b0291ed 100644
- dxroot->info.indirect_levels += 1;
+ info = dx_get_dx_info((struct ext4_dir_entry_2 *)
+ frames[0].bh->b_data);
- dxroot->info.indirect_levels += 1;
+ info = dx_get_dx_info((struct ext4_dir_entry_2 *)
+ frames[0].bh->b_data);
-+ info->indirect_levels = 1;
++ info->indirect_levels
+
= 1;
dxtrace(printk(KERN_DEBUG
"Creating %d level index...\n",
dxroot->info.indirect_levels));
dxtrace(printk(KERN_DEBUG
"Creating %d level index...\n",
dxroot->info.indirect_levels));