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
LU-911 obdclass: la_from_obdo helper
[fs/lustre-release.git]
/
lustre
/
liblustre
/
super.c
diff --git
a/lustre/liblustre/super.c
b/lustre/liblustre/super.c
index
8d03a8e
..
9f474bc
100644
(file)
--- a/
lustre/liblustre/super.c
+++ b/
lustre/liblustre/super.c
@@
-289,7
+289,7
@@
int llu_inode_getattr(struct inode *inode, struct obdo *obdo,
OBD_MD_FLBLKSZ | OBD_MD_FLMTIME |
OBD_MD_FLCTIME | OBD_MD_FLGROUP |
OBD_MD_FLATIME | OBD_MD_FLEPOCH;
OBD_MD_FLBLKSZ | OBD_MD_FLMTIME |
OBD_MD_FLCTIME | OBD_MD_FLGROUP |
OBD_MD_FLATIME | OBD_MD_FLEPOCH;
- obdo_
from_inode(oinfo.oi_oa, NULL, &llu_i2info(inode)->lli_fid, 0
);
+ obdo_
set_parent_fid(oinfo.oi_oa, &llu_i2info(inode)->lli_fid
);
if (sync) {
oinfo.oi_oa->o_valid |= OBD_MD_FLFLAGS;
oinfo.oi_oa->o_flags |= OBD_FL_SRVLOCK;
if (sync) {
oinfo.oi_oa->o_valid |= OBD_MD_FLFLAGS;
oinfo.oi_oa->o_flags |= OBD_FL_SRVLOCK;