summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs/ffs_vfsops.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2001-03-19 04:35:40 +0000
committerrwatson <rwatson@FreeBSD.org>2001-03-19 04:35:40 +0000
commit8a937bbc3a9d1a7f410a8dd8d27f0018404e5158 (patch)
tree608088c6defdc5504269796de0c3278f406f2486 /sys/ufs/ffs/ffs_vfsops.c
parente23d374264a5c2952acfee692abf4e79a63d0a68 (diff)
downloadFreeBSD-src-8a937bbc3a9d1a7f410a8dd8d27f0018404e5158.zip
FreeBSD-src-8a937bbc3a9d1a7f410a8dd8d27f0018404e5158.tar.gz
o Change options FFS_EXTATTR and options FFS_EXTATTR_AUTOSTART to
options UFS_EXTATTR and UFS_EXTATTR_AUTOSTART respectively. This change reflects the fact that our EA support is implemented entirely at the UFS layer (modulo FFS start/stop/autostart hooks for mount and unmount events). This also better reflects the fact that [shortly] MFS will also support EAs, as well as possibly IFS. o Consumers of the EA support in FFS are reminded that as a result, they must change kernel config files to reflect the new option names. Obtained from: TrustedBSD Project
Diffstat (limited to 'sys/ufs/ffs/ffs_vfsops.c')
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c
index a643019..bac00b9 100644
--- a/sys/ufs/ffs/ffs_vfsops.c
+++ b/sys/ufs/ffs/ffs_vfsops.c
@@ -34,8 +34,8 @@
* $FreeBSD$
*/
-#include "opt_ffs.h"
#include "opt_quota.h"
+#include "opt_ufs.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -85,7 +85,7 @@ static struct vfsops ufs_vfsops = {
ffs_vptofh,
ffs_init,
vfs_stduninit,
-#ifdef FFS_EXTATTR
+#ifdef UFS_EXTATTR
ufs_extattrctl,
#else
vfs_stdextattrctl,
@@ -659,7 +659,7 @@ ffs_mountfs(devvp, mp, p, malloctype)
ump->um_seqinc = fs->fs_frag;
for (i = 0; i < MAXQUOTAS; i++)
ump->um_quotas[i] = NULLVP;
-#ifdef FFS_EXTATTR
+#ifdef UFS_EXTATTR
ufs_extattr_uepm_init(&ump->um_extattr);
#endif
devvp->v_rdev->si_mountpoint = mp;
@@ -699,8 +699,8 @@ ffs_mountfs(devvp, mp, p, malloctype)
fs->fs_clean = 0;
(void) ffs_sbupdate(ump, MNT_WAIT);
}
-#ifdef FFS_EXTATTR
-#ifdef FFS_EXTATTR_AUTOSTART
+#ifdef UFS_EXTATTR
+#ifdef UFS_EXTATTR_AUTOSTART
/*
*
* Auto-starting does the following:
@@ -712,8 +712,8 @@ ffs_mountfs(devvp, mp, p, malloctype)
* available, so would effectively be "atomic".
*/
(void) ufs_extattr_autostart(mp, p);
-#endif /* !FFS_EXTATTR_AUTOSTART */
-#endif /* !FFS_EXTATTR */
+#endif /* !UFS_EXTATTR_AUTOSTART */
+#endif /* !UFS_EXTATTR */
return (0);
out:
devvp->v_rdev->si_mountpoint = NULL;
@@ -777,7 +777,7 @@ ffs_unmount(mp, mntflags, p)
if (mntflags & MNT_FORCE) {
flags |= FORCECLOSE;
}
-#ifdef FFS_EXTATTR
+#ifdef UFS_EXTATTR
if ((error = ufs_extattr_stop(mp, p)))
if (error != EOPNOTSUPP)
printf("ffs_unmount: ufs_extattr_stop returned %d\n",
OpenPOWER on IntegriCloud