diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-04-25 07:07:52 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-04-25 07:07:52 +0000 |
commit | a13234bb35c2671d47ec5b12eb613bb5d62121f2 (patch) | |
tree | 1e1cc748086c46f201fe0f25ecf025e668b10874 /sys/ufs/ufs/ufs_extern.h | |
parent | 40afc1048ef96e521e6f3de84c2f3f1360183b0e (diff) | |
download | src-a13234bb35c2671d47ec5b12eb613bb5d62121f2.tar.gz src-a13234bb35c2671d47ec5b12eb613bb5d62121f2.zip |
Move the netexport structure from the fs-specific mountstructure
to struct mount.
This makes the "struct netexport *" paramter to the vfs_export
and vfs_checkexport interface unneeded.
Consequently that all non-stacking filesystems can use
vfs_stdcheckexp().
At the same time, make it a pointer to a struct netexport
in struct mount, so that we can remove the bogus AF_MAX
and #include <net/radix.h> from <sys/mount.h>
Notes
Notes:
svn path=/head/; revision=75934
Diffstat (limited to 'sys/ufs/ufs/ufs_extern.h')
-rw-r--r-- | sys/ufs/ufs/ufs_extern.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/ufs/ufs/ufs_extern.h b/sys/ufs/ufs/ufs_extern.h index 82704b61410a..251d4a01471f 100644 --- a/sys/ufs/ufs/ufs_extern.h +++ b/sys/ufs/ufs/ufs_extern.h @@ -42,6 +42,7 @@ struct direct; struct indir; struct inode; struct mount; +struct netcred; struct proc; struct sockaddr; struct ucred; @@ -61,8 +62,6 @@ int ufs_vnoperatespec __P((struct vop_generic_args *)); int ufs_bmap __P((struct vop_bmap_args *)); int ufs_bmaparray __P((struct vnode *, daddr_t, daddr_t *, struct indir *, int *, int *, int *)); -int ufs_check_export __P((struct mount *, struct sockaddr *, - int *, struct ucred **)); int ufs_fhtovp(register struct mount *, struct ufid *, struct vnode **); int ufs_checkpath __P((struct inode *, struct inode *, struct ucred *)); void ufs_dirbad __P((struct inode *, doff_t, char *)); |