Whamcloud - gitweb
LU-8364 ldiskfs: fixes for failover mode.
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / rhel6.3 / ext4-print-inum-in-htree-warning.patch
1 Index: linux-stage/fs/ext4/namei.c
2 ===================================================================
3 --- linux-stage.orig/fs/ext4/namei.c
4 +++ linux-stage/fs/ext4/namei.c
5 @@ -371,8 +371,8 @@ dx_probe(const struct qstr *d_name, stru
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 for directory "
12 +                             "#%lu", root->info.hash_version, dir->i_ino);
13                 brelse(bh);
14                 *err = ERR_BAD_DX_DIR;
15                 goto fail;