diff --git a/lustre/llite/llite_lib.c b/lustre/llite/llite_lib.c index dc5d2432f19543d06b487016d712ae6cc203e7fd..432e1e581cf10191f87eaabc04b5e31683ed6662 100644 --- 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); }