Include <sys/zfs_vfsops.h> only when compiling kernel module.

MFC after:	2 weeks
This commit is contained in:
Pawel Jakub Dawidek 2011-10-24 05:26:40 +00:00
parent 497b7ef946
commit 27fbc05657
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226678

View File

@ -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);