inodes for every file operation. This doesn't fix the dentry refcount
problem, but it is a big step in the right direction.
/* methods */
static int ll_find_inode(struct inode *inode, unsigned long ino, void *opaque)
{
- struct mds_body *body = (struct mds_body *)opaque;
+ struct ll_inode_md *md = opaque;
- if (inode->i_generation != body->generation)
+ if (inode->i_generation != md->body->generation)
return 0;
return 1;