From owner-cvs-all@FreeBSD.ORG Sun Feb 4 01:41:33 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C8A4416A403; Sun, 4 Feb 2007 01:41:33 +0000 (UTC) (envelope-from mpp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id A389213C441; Sun, 4 Feb 2007 01:41:33 +0000 (UTC) (envelope-from mpp@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 l141fX7M038875; Sun, 4 Feb 2007 01:41:33 GMT (envelope-from mpp@repoman.freebsd.org) Received: (from mpp@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l141fXVa038873; Sun, 4 Feb 2007 01:41:33 GMT (envelope-from mpp) Message-Id: <200702040141.l141fXVa038873@repoman.freebsd.org> From: Mike Pritchard Date: Sun, 4 Feb 2007 01:41:33 +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/usr.sbin/edquota edquota.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: Sun, 04 Feb 2007 01:41:33 -0000 mpp 2007-02-04 01:41:33 UTC FreeBSD src repository Modified files: usr.sbin/edquota edquota.c Log: If quotas are not currently enabled for a file system, edquota -p will operate directly on the quota file. It will incorrectly write the prototype user's usage information for each new quota it sets. Fixed to read in the current quota information and update the file correctly. If quotas are enabled the kernel handles this case fine. PR: bin/15410 Revision Changes Path 1.25 +63 -8 src/usr.sbin/edquota/edquota.c