Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f9CIVpX27640 for linux-xfs-outgoing; Fri, 12 Oct 2001 11:31:51 -0700 Received: from rj.sgi.com (rj.sgi.com [204.94.215.100]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f9CIVmD27618 for ; Fri, 12 Oct 2001 11:31:48 -0700 Received: from yog-sothoth.sgi.com (eugate.neu.sgi.com [144.253.131.5]) by rj.sgi.com (8.11.4/8.11.4/linux-outbound_gateway-1.0) with ESMTP id f9CIVgW09649 for <@rj.corp.sgi.com:linux-xfs@oss.sgi.com>; Fri, 12 Oct 2001 11:31:42 -0700 Received: from clink-eth.americas.sgi.com (clink-eth.americas.sgi.com [128.162.2.8]) by yog-sothoth.sgi.com (980305.SGI.8.8.8-aspam-6.2/980304.SGI-aspam-europe) via ESMTP id UAA3193189 for ; Fri, 12 Oct 2001 20:30:27 +0200 (CEST) mail_from (roehrich@clink-eth.americas.sgi.com) Received: (from roehrich@localhost) by clink-eth.americas.sgi.com (SGI-8.9.3/8.9.3) id NAA68640 for linux-xfs@oss.sgi.com; Fri, 12 Oct 2001 13:30:20 -0500 (CDT) Date: Fri, 12 Oct 2001 13:30:20 -0500 (CDT) From: Dean Roehrich Message-Id: <200110121830.NAA68640@clink-eth.americas.sgi.com> To: linux-xfs@oss.sgi.com Subject: TAKE - cleanup the dmapi mount event in namespace.c and super.c Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Date: Fri Oct 12 11:28:08 PDT 2001 Workarea: clink-eth.americas.sgi.com:/data/clink/a67/roehrich/2.4.x-xfs The following file(s) were checked into: bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs Modid: 2.4.x-xfs:slinx:104709a linux/fs/super.c - 1.63 - undo any effect that the dmapi mount event had on this file. Don't carry around the dirname, and don't call the event from here. linux/fs/xfs/linux/xfs_super.c - 1.140 - If dmapi decided to fail the mount, then it was removing the VFS_DMI flag from the vfs--that's not a good thing to do if the filesystem is already mounted in other places. linux/fs/namespace.c - 1.4 - do_add_mount and do_kern_mount do not need to carry around the dirname parameter for the dmapi mount event. Now we use d_path to get the dirname. Now call the mount event from do_add_mount.