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
/
rhel8.1
/
ext4-kill-dx-root.patch
diff --git
a/ldiskfs/kernel_patches/patches/rhel8.1/ext4-kill-dx-root.patch
b/ldiskfs/kernel_patches/patches/rhel8.1/ext4-kill-dx-root.patch
index
b212574
..
3f1b75e
100644
(file)
--- a/
ldiskfs/kernel_patches/patches/rhel8.1/ext4-kill-dx-root.patch
+++ b/
ldiskfs/kernel_patches/patches/rhel8.1/ext4-kill-dx-root.patch
@@
-224,7
+224,7
@@
Index: linux-4.18.0-147.0.3.el8/fs/ext4/namei.c
- 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));