struct inode *inode;
inode = osd_sb(osd_dt_dev(dev))->s_root->d_inode;
- lu_igif_build(f, inode->i_ino, inode->i_generation);
+ LU_IGIF_BUILD(f, inode->i_ino, inode->i_generation);
return 0;
}
LINVRNT(osd_invariant(obj));
LASSERT(obj->oo_inode == NULL);
- LASSERT(fid_is_sane(fid));
+ LASSERT(fid_is_sane(fid) || osd_fid_is_root(fid));
/*
* This assertion checks that osd layer sees only local
* fids. Unfortunately it is somewhat expensive (does a
static inline void osd_igif_get(const struct lu_env *env, struct inode *inode,
struct lu_fid *fid)
{
- lu_igif_build(fid, inode->i_ino, inode->i_generation);
+ LU_IGIF_BUILD(fid, inode->i_ino, inode->i_generation);
}
/**