diff options
author | pjd <pjd@FreeBSD.org> | 2011-10-24 05:26:40 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2011-10-24 05:26:40 +0000 |
commit | b344f10e8eaa24dbbdf7b0fc784a3683e9cb7754 (patch) | |
tree | 637c419f467105d144506a0e0f40935fa030530d /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dir.c | |
parent | abdbea665980cd149a350baa8450b4fc59a80b9e (diff) | |
download | FreeBSD-src-b344f10e8eaa24dbbdf7b0fc784a3683e9cb7754.zip FreeBSD-src-b344f10e8eaa24dbbdf7b0fc784a3683e9cb7754.tar.gz |
Include <sys/zfs_vfsops.h> only when compiling kernel module.
MFC after: 2 weeks
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dir.c')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dir.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dir.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dir.c index bb22dfb..858bf59 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dir.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dir.c @@ -37,7 +37,9 @@ #include <sys/arc.h> #include <sys/sunddi.h> #include <sys/zvol.h> +#ifdef _KERNEL #include <sys/zfs_vfsops.h> +#endif #include "zfs_namecheck.h" static uint64_t dsl_dir_space_towrite(dsl_dir_t *dd); |