diff options
author | rwatson <rwatson@FreeBSD.org> | 2001-03-19 06:44:18 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2001-03-19 06:44:18 +0000 |
commit | b777dece07e2bdb7cef7e2a30606b5106b9a43a1 (patch) | |
tree | 0b08edbb86d1ff68f0429b2abd50f7c4a313d3dd /sys/ufs/mfs/mfs_vfsops.c | |
parent | b4ebfdcb15d7daedf37d95268e7c83004f95ef20 (diff) | |
download | FreeBSD-src-b777dece07e2bdb7cef7e2a30606b5106b9a43a1.zip FreeBSD-src-b777dece07e2bdb7cef7e2a30606b5106b9a43a1.tar.gz |
o Enable UFS-based extended attribute support on MFS. Note that this change
is under-tested, and that MFS appears to be in the process of being
deprecated in favor of FFS over md. Note also that UFS_EXTATTR_AUTOSTART
doesn't make much sense on MFS unless the MFSROOT is compiled in, so
manual configuration is generally required.
Obtained from: TrustedBSD Project
Diffstat (limited to 'sys/ufs/mfs/mfs_vfsops.c')
-rw-r--r-- | sys/ufs/mfs/mfs_vfsops.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/ufs/mfs/mfs_vfsops.c b/sys/ufs/mfs/mfs_vfsops.c index c67d61e..1a5260d 100644 --- a/sys/ufs/mfs/mfs_vfsops.c +++ b/sys/ufs/mfs/mfs_vfsops.c @@ -36,6 +36,7 @@ #include "opt_mfs.h" +#include "opt_ufs.h" #include <sys/param.h> #include <sys/systm.h> @@ -111,7 +112,11 @@ static struct vfsops mfs_vfsops = { ffs_vptofh, mfs_init, vfs_stduninit, +#ifdef UFS_EXTATTR + ufs_extattrctl, +#else vfs_stdextattrctl, +#endif }; VFS_SET(mfs_vfsops, mfs, 0); |