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:
61e364d
)
- don't pass pid in case of slave creation.
author
alex
<alex>
Sun, 7 Aug 2005 14:22:58 +0000
(14:22 +0000)
committer
alex
<alex>
Sun, 7 Aug 2005 14:22:58 +0000
(14:22 +0000)
checking for non-zero fid is a wrong practice
lustre/mds/handler.c
patch
|
blob
|
history
diff --git
a/lustre/mds/handler.c
b/lustre/mds/handler.c
index
8308adb
..
e807ae8
100644
(file)
--- a/
lustre/mds/handler.c
+++ b/
lustre/mds/handler.c
@@
-2577,7
+2577,8
@@
repeat:
mds_inode2id(obd, &id, new->d_inode, fid);
mds_update_inode_ids(obd, new->d_inode, handle, &id,
- obdo_id(&body->oa));
+ body->oa.o_valid & OBD_MD_FLID ?
+ NULL : obdo_id(&body->oa));
/* initializing o_fid after it is allocated. */
repbody->oa.o_fid = id_fid(&id);