/* RETURN VALUES: 0 - success -EIO - i/o error. -ENOSPC - insufficient disk resources.  */
int extRecord(struct inode *ip, xad_t *xp)
/* RETURN VALUES: 0 - success -EIO - i/o error. -ENOSPC - insufficient disk resources.  */
int extRecord(struct inode *ip, xad_t *xp)
{
	int rc;
	txBeginAnon(ip->i_sb);
	mutex_lock(&JFS_IP(ip)->commit_mutex);
	rc = xtUpdate(0, ip, xp);
	mutex_unlock(&JFS_IP(ip)->commit_mutex);
	return rc;
}