From owner-cvs-all@FreeBSD.ORG Mon Aug 21 17:20:21 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6EEF16A4E2; Mon, 21 Aug 2006 17:20:21 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59A7C43D80; Mon, 21 Aug 2006 17:20:20 +0000 (GMT) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k7LHKKc8020807; Mon, 21 Aug 2006 17:20:20 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k7LHKJi3020806; Mon, 21 Aug 2006 17:20:19 GMT (envelope-from kib) Message-Id: <200608211720.k7LHKJi3020806@repoman.freebsd.org> From: Konstantin Belousov Date: Mon, 21 Aug 2006 17:20:19 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/ufs/ffs ffs_snapshot.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Aug 2006 17:20:21 -0000 kib 2006-08-21 17:20:19 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_snapshot.c Log: While checking for update of snapshot file in the ffs_copyonwrite, first filter out metadata update. Otherwise, devfs vnode could be erronously interpreted as ufs one, causing further check of i_flags to use random memory. PR: kern/100365 Debugged and fix described by: tegge Approved by: pjd (mentor) MFC after: 2 weeks Revision Changes Path 1.128 +1 -1 src/sys/ufs/ffs/ffs_snapshot.c