Whamcloud - gitweb
66ffd444e00e6fb449c7bc26f72a5247c5612e77
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / ext4-print-inum-in-htree-warning-rhel5.patch
1 Index: linux-2.6.18.i386/fs/ext4/namei.c
2 ===================================================================
3 --- linux-2.6.18.i386.orig/fs/ext4/namei.c
4 +++ linux-2.6.18.i386/fs/ext4/namei.c
5 @@ -374,8 +374,9 @@ dx_probe(struct dentry *dentry, struct i
6         if (root->info.hash_version != DX_HASH_TEA &&
7             root->info.hash_version != DX_HASH_HALF_MD4 &&
8             root->info.hash_version != DX_HASH_LEGACY) {
9 -               ext4_warning(dir->i_sb, "Unrecognised inode hash code %d",
10 -                            root->info.hash_version);
11 +               ext4_warning(dir->i_sb, "Unrecognised inode hash code %d"
12 +                            "for directory #%lu",
13 +                            root->info.hash_version, dir->i_ino);
14                 brelse(bh);
15                 *err = ERR_BAD_DX_DIR;
16                 goto fail;