/*
* This file and its contents are supplied under the terms of the
* Common Development and Distribution License ("CDDL"), version 1.0.
* You may only use this file in accordance with the terms of version
* 1.0 of the CDDL.
*
* A full copy of the text of the CDDL should have accompanied this
* source. A copy is of the CDDL is also available via the Internet
*/
/*
* Copyright 2011 Nexenta Systems, Inc. All rights reserved.
*/
/*
* NFS Lock Manager, client-side
* Note: depends on (links with) klmmod
*
* This file contains all the external entry points of klmops.
* Basically, this is the "glue" to the BSD nlm code.
*/
#include <rpcsvc/nlm_prot.h>
#include "nlm_impl.h"
&mod_miscops, "lock mgr calls"
};
};
/*
* ****************************************************************
* module init, fini, info
*/
int
_init()
{
return (mod_install(&modlinkage));
}
int
_fini()
{
/* Don't unload. */
return (EBUSY);
}
int
{
}
/*
* ****************************************************************
* Stubs listed in modstubs.s
*/
/*
* Uses NLM version 1 (NLM_VERS)
*/
int
struct flk_callback *flcb)
{
}
/*
* Uses NLM version 4 (NLM4_VERS)
*/
int
struct flk_callback *flcb)
{
int err;
return (err);
}
/*
* Uses NLM version 3 (NLM_VERSX)
*/
int
{
}
/*
* Uses NLM version 4 (NLM4_VERS)
*/
int
{
}
/*
* Helper for nfs_lockrelease.
*/
void
{
}
/*
* Old RPC service dispatch functions, no longer used.
* Here only to satisfy modstubs.s references.
*/
void
{
}
void
{
}
/*
* Old internal functions used for reclaiming locks
* our NFS client holds after some server restarts.
* The new NLM code does this differently, so these
* are here only to satisfy modstubs.s references.
*/
void
{
}
void
{
}