Deleted Added
full compact
54a55,58
> #ifdef VFS_LKM
> #include <sys/sysent.h>
> #include <sys/syscall.h>
> #endif
99a104,110
> #ifdef VFS_LKM
> struct getfh_args;
> extern int getfh(struct proc *, struct getfh_args *, int *);
> struct nfssvc_args;
> extern int nfssvc(struct proc *, struct nfssvc_args *, int *);
> #endif
>
636a648,661
> /*
> * Set up lease_check and lease_updatetime so that other parts
> * of the system can call us, if we are loadable.
> */
> lease_check = nfs_lease_check;
> lease_updatetime = nfs_lease_updatetime;
> vfsconf[MOUNT_NFS]->vfc_refcount++; /* make us non-unloadable */
> #ifdef VFS_LKM
> sysent[SYS_nfssvc].sy_narg = 2;
> sysent[SYS_nfssvc].sy_call = nfssvc;
> sysent[SYS_getfh].sy_narg = 2;
> sysent[SYS_getfh].sy_call = getfh;
> #endif
>