[Top] [All Lists]

PARTIAL TAKE 981951 - kill xfs_mount_init

To: sgi.bugs.xfs@xxxxxxxxxxxx
Subject: PARTIAL TAKE 981951 - kill xfs_mount_init
From: dgc@xxxxxxx (David Chinner)
Date: Tue, 20 May 2008 11:44:52 +1000 (EST)
Cc: xfs@xxxxxxxxxxx
Sender: xfs-bounce@xxxxxxxxxxx
kill xfs_mount_init

xfs_mount_init is inlined into xfs_fs_fill_super and allocation switched
to kzalloc.  Plug a leak of the mount structure for most early mount
failures.  Move xfs_icsb_init_counters to as late as possible in the
mount path and make sure to undo it so that no stale hotplug cpu
notifiers are left around on mount failures.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Date:  Tue May 20 11:44:36 AEST 2008
Workarea:  chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by:  hch@xxxxxx

The following file(s) were checked into:

Modid:  xfs-linux-melb:xfs-kern:31196a
fs/xfs/xfs_mount.h - 1.268 - changed
        - kill xfs_mount_init.

fs/xfs/xfs_mount.c - 1.436 - changed
        - kill xfs_mount_init.

fs/xfs/linux-2.6/xfs_super.c - 1.424 - changed
        - kill xfs_mount_init.

fs/xfs/linux-2.6/xfs_ksyms.c - 1.85 - changed
        - kill xfs_mount_init.

<Prev in Thread] Current Thread [Next in Thread>
  • PARTIAL TAKE 981951 - kill xfs_mount_init, David Chinner <=