From bb0527fdd32d394d604f342325deaac8fb5e2c75 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Thu, 24 Jun 2004 18:17:41 +0000 Subject: [PATCH] Remove unnecessary setting of VV_SYSTEM on extended attribute backing files. When this flag is used in our port of this code to Darwin, it caused remarkable pain, and doesn't offer a benefit in FreeBSD. --- sys/ufs/ufs/ufs_extattr.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/ufs/ufs/ufs_extattr.c b/sys/ufs/ufs/ufs_extattr.c index 472ae2e9de71..e39ad17d98b5 100644 --- a/sys/ufs/ufs/ufs_extattr.c +++ b/sys/ufs/ufs/ufs_extattr.c @@ -653,7 +653,6 @@ ufs_extattr_enable(struct ufsmount *ump, int attrnamespace, } ASSERT_VOP_LOCKED(backing_vnode, "ufs_extattr_enable"); - backing_vnode->v_vflag |= VV_SYSTEM; LIST_INSERT_HEAD(&ump->um_extattr.uepm_list, attribute, uele_entries); @@ -690,7 +689,6 @@ ufs_extattr_disable(struct ufsmount *ump, int attrnamespace, vn_lock(uele->uele_backing_vnode, LK_SHARED | LK_NOPAUSE | LK_RETRY, td); ASSERT_VOP_LOCKED(uele->uele_backing_vnode, "ufs_extattr_disable"); - uele->uele_backing_vnode->v_vflag &= ~VV_SYSTEM; VOP_UNLOCK(uele->uele_backing_vnode, 0, td); error = vn_close(uele->uele_backing_vnode, FREAD|FWRITE, td->td_ucred, td);