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:
da9596b
)
- ll_update_inode() puts number of MDS holding inode to inode->i_dev. this
author
alex
<alex>
Mon, 24 May 2004 08:57:47 +0000
(08:57 +0000)
committer
alex
<alex>
Mon, 24 May 2004 08:57:47 +0000
(08:57 +0000)
fix the problem some apps confuses on: they see the same inode number for
different objects. thanks to Andreas for the idea.
lustre/llite/llite_lib.c
patch
|
blob
|
history
diff --git
a/lustre/llite/llite_lib.c
b/lustre/llite/llite_lib.c
index
dc5d243
..
432e1e5
100644
(file)
--- a/
lustre/llite/llite_lib.c
+++ b/
lustre/llite/llite_lib.c
@@
-1171,6
+1171,7
@@
void ll_update_inode(struct inode *inode, struct lustre_md *md)
set_bit(LLI_F_HAVE_MDS_SIZE_LOCK, &lli->lli_flags);
lli->lli_mds = body->mds;
+ inode->i_dev = (kdev_t) body->mds;
LASSERT(body->mds < 1000);
}