mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
openbsd-20030204
Get rid of afsmodload() in favor of libafs_lkmentry()
This commit is contained in:
parent
146ca01c9f
commit
7a4e715d13
@ -511,7 +511,7 @@ afs_vfs_unload(struct lkm_table *lktmp, int cmd)
|
|||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
afsmodload(struct lkm_table *lkmtp, int cmd, int ver)
|
libafs_lkmentry(struct lkm_table *lkmtp, int cmd, int ver)
|
||||||
{
|
{
|
||||||
if (cmd == LKM_E_LOAD) {
|
if (cmd == LKM_E_LOAD) {
|
||||||
if (strcmp(ostype, afs_NetBSD_osname)) {
|
if (strcmp(ostype, afs_NetBSD_osname)) {
|
||||||
@ -528,9 +528,3 @@ afsmodload(struct lkm_table *lkmtp, int cmd, int ver)
|
|||||||
}
|
}
|
||||||
DISPATCH(lkmtp,cmd,ver,afs_vfs_load,afs_vfs_unload,lkm_nofunc);
|
DISPATCH(lkmtp,cmd,ver,afs_vfs_load,afs_vfs_unload,lkm_nofunc);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
|
||||||
libafs_lkmentry(struct lkm_table *lkmtp, int cmd, int ver)
|
|
||||||
{
|
|
||||||
return afsmodload(lkmtp, cmd, ver);
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user