Whamcloud - gitweb
b=16098
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / ext3-print-inum-in-htree-warning.patch
1 Index: linux-2.6.18.8/fs/ext3/namei.c
2 ===================================================================
3 --- linux-2.6.18.8.orig/fs/ext3/namei.c
4 +++ linux-2.6.18.8/fs/ext3/namei.c
5 @@ -347,8 +347,8 @@ dx_probe(struct dentry *dentry, struct i
6             root->info.hash_version != DX_HASH_HALF_MD4 &&
7             root->info.hash_version != DX_HASH_LEGACY) {
8                 ext3_warning(dir->i_sb, __FUNCTION__,
9 -                            "Unrecognised inode hash code %d",
10 -                            root->info.hash_version);
11 +                            "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;
16