diff options
author | pjd <pjd@FreeBSD.org> | 2007-04-23 00:52:07 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2007-04-23 00:52:07 +0000 |
commit | 2063f013741d3fee2d48a255b6bbec6f1d15d003 (patch) | |
tree | 54c85efd93c3e6d93de3afcd7ec31f6e802cec59 /sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c | |
parent | e06dca92fe6d546958ccf3012b122a74b8fffc9c (diff) | |
download | FreeBSD-src-2063f013741d3fee2d48a255b6bbec6f1d15d003.zip FreeBSD-src-2063f013741d3fee2d48a255b6bbec6f1d15d003.tar.gz |
MFp4: Reduce diff against vendor code:
- Move FreeBSD-specific code to zfs_freebsd_*() functions in zfs_vnops.c
and keep original functions as similar to vendor's code as possible.
- Add various includes back, now that we have them.
Diffstat (limited to 'sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c')
-rw-r--r-- | sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c b/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c index c76d889..a82777a 100644 --- a/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c +++ b/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c @@ -47,9 +47,11 @@ #include <sys/spa.h> #include <sys/zap.h> #include <sys/varargs.h> +#include <sys/policy.h> #include <sys/atomic.h> #include <sys/zfs_ioctl.h> #include <sys/zfs_ctldir.h> +#include <sys/sunddi.h> #include <sys/dnlc.h> struct mtx atomic_mtx; |