From: yangsheng Date: Fri, 21 Dec 2007 03:57:33 +0000 (+0000) Subject: Branch b1_4 X-Git-Tag: v1_7_0_51~375 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=e398d1bbe842c86aca7f5c38e84c4442207ec8d9;p=fs%2Flustre-release.git Branch b1_4 b=14288 i=adilger i=johann Update to RHEL4 U6 kernel-2.6.9-67.EL. --- diff --git a/ldiskfs/kernel_patches/patches/iopen-2.6-rhel4.patch b/ldiskfs/kernel_patches/patches/iopen-2.6-rhel4.patch index 98dbca4..39ebb39 100644 --- a/ldiskfs/kernel_patches/patches/iopen-2.6-rhel4.patch +++ b/ldiskfs/kernel_patches/patches/iopen-2.6-rhel4.patch @@ -150,7 +150,7 @@ Index: linux-stage/fs/ext3/iopen.c + list_add(&dentry->d_alias, &inode->i_dentry); /* d_instantiate */ + dentry->d_inode = inode; + -+ __d_rehash(dentry, 0); /* d_rehash */ ++ d_rehash_cond(dentry, 0); /* d_rehash */ + spin_unlock(&dcache_lock); + + return NULL; @@ -217,8 +217,8 @@ Index: linux-stage/fs/ext3/iopen.c + goal->d_flags &= ~DCACHE_DISCONNECTED; + security_d_instantiate(goal, inode); + __d_drop(dentry); -+ __d_rehash(dentry, 0); -+ __d_move(goal, dentry); ++ d_rehash_cond(dentry, 0); ++ d_move_locked(goal, dentry); + spin_unlock(&dcache_lock); + iput(inode); + @@ -230,7 +230,7 @@ Index: linux-stage/fs/ext3/iopen.c + dentry->d_inode = inode; +do_rehash: + if (rehash) -+ __d_rehash(dentry, 0); /* d_rehash */ ++ d_rehash_cond(dentry, 0); /* d_rehash */ + spin_unlock(&dcache_lock); + + return NULL;