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

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