> +static struct inode *ubifs_nfs_get_inode(struct super_block *sb, uint64_t ino, > + uint32_t generation) > +{ > + return ubifs_iget(sb, ino); > +} You need to maintain and check an inode generation counter for this to be safe.
> +static struct inode *ubifs_nfs_get_inode(struct super_block *sb, uint64_t ino, > + uint32_t generation) > +{ > + return ubifs_iget(sb, ino); > +} You need to maintain and check an inode generation counter for this to be safe.