From owner-p4-projects Fri Oct 4 7:56: 6 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id A8C5A37B401; Fri, 4 Oct 2002 07:56:04 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3616037B404 for ; Fri, 4 Oct 2002 07:56:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C84AF43E75 for ; Fri, 4 Oct 2002 07:56:03 -0700 (PDT) (envelope-from green@freebsd.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g94Eu3Co081728 for ; Fri, 4 Oct 2002 07:56:03 -0700 (PDT) (envelope-from green@freebsd.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g94Eu33e081725 for perforce@freebsd.org; Fri, 4 Oct 2002 07:56:03 -0700 (PDT) Date: Fri, 4 Oct 2002 07:56:03 -0700 (PDT) Message-Id: <200210041456.g94Eu33e081725@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to green@freebsd.org using -f From: Brian Feldman Subject: PERFORCE change 18663 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18663 Change 18663 by green@green_laptop_2 on 2002/10/04 07:55:58 Reject, not crash on, files currently invalid to have extended attributes on. Affected files ... .. //depot/projects/trustedbsd/mac/sys/ufs/ffs/ffs_vnops.c#12 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/ufs/ffs/ffs_vnops.c#12 (text+ko) ==== @@ -1402,6 +1402,19 @@ struct ufs2_dinode *dp; int error; + /* + * Since these inode types don't contain storage, their vnode + * operations don't include the strategy() necessary for EA on + * UFS2 right now. + */ + switch (vp->v_type) { + case VCHR: + case VBLK: + case VFIFO: + return (EFTYPE); + default: + break; + } ip = VTOI(vp); fs = ip->i_fs; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message