From cdc83afc7f1e444c4646840f48592b7ff524fbea Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 25 Apr 2001 07:07:52 +0000 Subject: 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 from --- sys/fs/ntfs/ntfs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/fs/ntfs/ntfs.h') diff --git a/sys/fs/ntfs/ntfs.h b/sys/fs/ntfs/ntfs.h index 9bf7751..d74fe6f 100644 --- a/sys/fs/ntfs/ntfs.h +++ b/sys/fs/ntfs/ntfs.h @@ -255,7 +255,9 @@ struct ntfsmount { cn_t ntm_cfree; struct ntvattrdef *ntm_ad; int ntm_adnum; +#if !defined(__FreeBSD__) struct netexport ntm_export; /* export information */ +#endif }; #define ntm_mftcn ntm_bootfile.bf_mftcn -- cgit v1.1