]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/xfs/xfs_mount.h
[XFS] kill xfs_mount_init
authorChristoph Hellwig <hch@infradead.org>
Tue, 20 May 2008 05:10:52 +0000 (15:10 +1000)
committerNiv Sardi <xaiki@debian.org>
Mon, 28 Jul 2008 06:58:29 +0000 (16:58 +1000)
commitc962fb7902669a48a2c613649c1f03865c0ffd1e
tree370bdf7273c92a2bcb230680c6b0bfa4928b11e8
parentbdd907bab78419f34113c51470192945741b839e
[XFS] 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.

SGI-PV: 981951
SGI-Modid: xfs-linux-melb:xfs-kern:31196a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/linux-2.6/xfs_super.c
fs/xfs/xfs_mount.c
fs/xfs/xfs_mount.h