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:
34201a7
)
Minor cleanups.
author
adilger
<adilger>
Tue, 8 Jul 2003 21:08:31 +0000
(21:08 +0000)
committer
adilger
<adilger>
Tue, 8 Jul 2003 21:08:31 +0000
(21:08 +0000)
lustre/mds/mds_lib.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_lib.c
b/lustre/mds/mds_lib.c
index
a72e176
..
640614e
100644
(file)
--- a/
lustre/mds/mds_lib.c
+++ b/
lustre/mds/mds_lib.c
@@
-57,6
+57,7
@@
void mds_pack_inode2fid(struct ll_fid *fid, struct inode *inode)
fid->f_type = (S_IFMT & inode->i_mode);
}
+/* Note that we can copy all of the fields, just some will not be "valid" */
void mds_pack_inode2body(struct mds_body *b, struct inode *inode)
{
b->valid = OBD_MD_FLID | OBD_MD_FLATIME | OBD_MD_FLMTIME |