/* Fill in the post_op attr for the wcc data  */
void fill_post_wcc(struct svc_fh *fhp)
/* Fill in the post_op attr for the wcc data  */
void fill_post_wcc(struct svc_fh *fhp)
{
	int err;
	if (fhp->fh_post_saved)
		printk("nfsd: inode locked twice during operation.\n");
	err = vfs_getattr(fhp->fh_export->ex_path.mnt, fhp->fh_dentry,
			&fhp->fh_post_attr);
	fhp->fh_post_change = fhp->fh_dentry->d_inode->i_version;
	if (err)
		fhp->fh_post_saved = 0;
	else
		fhp->fh_post_saved = 1;
}