Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix for failed assertion in iopen_connect_dentry (2.4 kernels only, from b1_0).
[fs/lustre-release.git]
/
lustre
/
kernel_patches
/
patches
/
vfs_intent_2.6.0-test1.patch
diff --git
a/lustre/kernel_patches/patches/vfs_intent_2.6.0-test1.patch
b/lustre/kernel_patches/patches/vfs_intent_2.6.0-test1.patch
index
1f840e8
..
3d75965
100644
(file)
--- a/
lustre/kernel_patches/patches/vfs_intent_2.6.0-test1.patch
+++ b/
lustre/kernel_patches/patches/vfs_intent_2.6.0-test1.patch
@@
-85,10
+85,10
@@
{
struct dentry * result;
struct inode *dir = parent->d_inode;
-+
int counter = 0;
++ int counter = 0;
+again:
-+
counter++;
++ counter++;
down(&dir->i_sem);
/*
* First re-do the cached lookup just in case it was created
@@
-97,10
+97,10
@@
if (!result->d_op->d_revalidate(result, nd) && !d_invalidate(result)) {
dput(result);
- result = ERR_PTR(-ENOENT);
-+
if (counter > 10)
-+
result = ERR_PTR(-ESTALE);
-+
if (!IS_ERR(result))
-+
goto again;
++ if (counter > 10)
++ result = ERR_PTR(-ESTALE);
++ if (!IS_ERR(result))
++ goto again;
}
}
return result;