/* Takes and drops an exclusive lock on the given dentry. This will force other nodes to drop it.  */
static int ocfs2_remote_dentry_delete(struct dentry *dentry)
/* Takes and drops an exclusive lock on the given dentry. This will force other nodes to drop it.  */
static int ocfs2_remote_dentry_delete(struct dentry *dentry)
{
	int ret;
	ret = ocfs2_dentry_lock(dentry, 1);
	if (ret)
		mlog_errno(ret);
	else
		ocfs2_dentry_unlock(dentry, 1);
	return ret;
}