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:
2b152f2
)
Branch: b_new_cmd
author
wangdi
<wangdi>
Tue, 8 Aug 2006 16:30:19 +0000
(16:30 +0000)
committer
wangdi
<wangdi>
Tue, 8 Aug 2006 16:30:19 +0000
(16:30 +0000)
seems a typo, anyway we need pack the attr back
when inode revalidate
lustre/mdt/mdt_handler.c
patch
|
blob
|
history
diff --git
a/lustre/mdt/mdt_handler.c
b/lustre/mdt/mdt_handler.c
index
d353d39
..
7c636b5
100644
(file)
--- a/
lustre/mdt/mdt_handler.c
+++ b/
lustre/mdt/mdt_handler.c
@@
-383,7
+383,7
@@
static int mdt_getattr_name_lock(struct mdt_thread_info *info,
mdt_lock_handle_init(lhc);
lhc->mlh_mode = LCK_CR;
result = mdt_object_lock(info, child, lhc, child_bits);
- if (result
!
= 0) {
+ if (result
=
= 0) {
/* finally, we can get attr for child. */
result = mdt_getattr_internal(info, child,
ldlm_rep ? 2 : 1);