Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8a4993
)
fix the create mode bug
author
huanghua
<huanghua>
Wed, 29 Nov 2006 09:59:34 +0000
(09:59 +0000)
committer
huanghua
<huanghua>
Wed, 29 Nov 2006 09:59:34 +0000
(09:59 +0000)
lustre/llite/dcache.c
patch
|
blob
|
history
diff --git
a/lustre/llite/dcache.c
b/lustre/llite/dcache.c
index
f2d69d4
..
09f635e
100644
(file)
--- a/
lustre/llite/dcache.c
+++ b/
lustre/llite/dcache.c
@@
-425,7
+425,6
@@
int ll_revalidate_it(struct dentry *de, int lookup_flags,
* change, LOOKUP lock is revoked.
*/
- it->it_create_mode &= ~current->fs->umask;
if (it->it_flags & FMODE_WRITE) {
och_p = &lli->lli_mds_write_och;
@@
-460,6
+459,7
@@
int ll_revalidate_it(struct dentry *de, int lookup_flags,
}
do_lock:
+ it->it_create_mode &= ~current->fs->umask;
it->it_flags |= O_CHECK_STALE;
rc = md_intent_lock(exp, op_data, NULL, 0, it, lookup_flags,
&req, ll_md_blocking_ast, 0);