Skip to content
Snippets Groups Projects
Commit e3ee6975 authored by kalpak's avatar kalpak
Browse files

b=9570

i=adilger, girish

Print dir inode number when displaying corrupt hash code warning
parent de2d48b4
No related branches found
No related tags found
No related merge requests found
Index: linux-2.6.18.8/fs/ext3/namei.c
===================================================================
--- linux-2.6.18.8.orig/fs/ext3/namei.c
+++ linux-2.6.18.8/fs/ext3/namei.c
@@ -347,8 +347,8 @@ dx_probe(struct dentry *dentry, struct i
root->info.hash_version != DX_HASH_HALF_MD4 &&
root->info.hash_version != DX_HASH_LEGACY) {
ext3_warning(dir->i_sb, __FUNCTION__,
- "Unrecognised inode hash code %d",
- root->info.hash_version);
+ "Unrecognised inode hash code %d for directory "
+ "#%lu", root->info.hash_version, dir->i_ino);
brelse(bh);
*err = ERR_BAD_DX_DIR;
goto fail;
...@@ -24,3 +24,4 @@ ext3-mmp-2.6-rhel4.patch ...@@ -24,3 +24,4 @@ ext3-mmp-2.6-rhel4.patch
ext3-fiemap-2.6-sles10.patch ext3-fiemap-2.6-sles10.patch
ext3-external-journal-2.6.9.patch ext3-external-journal-2.6.9.patch
ext3-max-dir-size.patch ext3-max-dir-size.patch
ext3-print-inum-in-htree-warning.patch
...@@ -20,3 +20,4 @@ ext3-fiemap-2.6.18-vanilla.patch ...@@ -20,3 +20,4 @@ ext3-fiemap-2.6.18-vanilla.patch
ext3-statfs-2.6-rhel5.patch ext3-statfs-2.6-rhel5.patch
ext3-lookup-dotdot-2.6.9.patch ext3-lookup-dotdot-2.6.9.patch
ext3-max-dir-size.patch ext3-max-dir-size.patch
ext3-print-inum-in-htree-warning.patch
...@@ -24,3 +24,4 @@ ext3-fiemap-2.6-sles10.patch ...@@ -24,3 +24,4 @@ ext3-fiemap-2.6-sles10.patch
ext3-statfs-2.6-sles10.patch ext3-statfs-2.6-sles10.patch
ext3-lookup-dotdot-2.6.9.patch ext3-lookup-dotdot-2.6.9.patch
ext3-max-dir-size.patch ext3-max-dir-size.patch
ext3-print-inum-in-htree-warning.patch
...@@ -23,3 +23,4 @@ ext3-nanosecond-2.6-suse.patch ...@@ -23,3 +23,4 @@ ext3-nanosecond-2.6-suse.patch
ext3-fiemap-stub-suse.patch ext3-fiemap-stub-suse.patch
ext3-external-journal-2.6.5.patch ext3-external-journal-2.6.5.patch
ext3-max-dir-size.patch ext3-max-dir-size.patch
ext3-print-inum-in-htree-warning.patch
...@@ -20,3 +20,4 @@ ext3-handle-directory-corruption-better.patch ...@@ -20,3 +20,4 @@ ext3-handle-directory-corruption-better.patch
ext3-fiemap-2.6.18-vanilla.patch ext3-fiemap-2.6.18-vanilla.patch
ext3-lookup-dotdot-2.6.9.patch ext3-lookup-dotdot-2.6.9.patch
ext3-max-dir-size.patch ext3-max-dir-size.patch
ext3-print-inum-in-htree-warning.patch
...@@ -21,3 +21,4 @@ ext3-lookup-dotdot-2.6.9.patch ...@@ -21,3 +21,4 @@ ext3-lookup-dotdot-2.6.9.patch
ext3-unlink-race.patch ext3-unlink-race.patch
ext3-export-journal-api.patch ext3-export-journal-api.patch
ext3-max-dir-size.patch ext3-max-dir-size.patch
ext3-print-inum-in-htree-warning.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment