From owner-cvs-src@FreeBSD.ORG Thu Jul 17 18:10:17 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66FCC37B401; Thu, 17 Jul 2003 18:10:17 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02D5F43F85; Thu, 17 Jul 2003 18:10:17 -0700 (PDT) (envelope-from iedowse@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h6I1AG0U059489; Thu, 17 Jul 2003 18:10:16 -0700 (PDT) (envelope-from iedowse@repoman.freebsd.org) Received: (from iedowse@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h6I1AGes059488; Thu, 17 Jul 2003 18:10:16 -0700 (PDT) Message-Id: <200307180110.h6I1AGes059488@repoman.freebsd.org> From: Ian Dowse Date: Thu, 17 Jul 2003 18:10:16 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/umount umount.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 01:10:18 -0000 iedowse 2003/07/17 18:10:16 PDT FreeBSD src repository Modified files: sbin/umount umount.c Log: When the file system to unmount is specified by device name instead of by mount point, umount had to take care not to unmount the wrong file system if another file system was covering the requested one. Now that the file system to unmount is specified to the kernel using the filesystem ID, this confusion cannot occur, so remove the code that checked for it. Revision Changes Path 1.36 +7 -45 src/sbin/umount/umount.c