]> err.no Git - linux-2.6/commit
[XFS] don't call xfs_freesb from xfs_unmountfs
authorChristoph Hellwig <hch@infradead.org>
Wed, 13 Aug 2008 06:50:21 +0000 (16:50 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Wed, 13 Aug 2008 06:50:21 +0000 (16:50 +1000)
commit6203300e5e9121440b27d3ed0b9fe2a64cb62b53
treedf0e5dfe72d73324efcd4835d6b7da1dff72f28b
parent41b5c2e77a0221cf07ac127afa122add67ac5418
[XFS] don't call xfs_freesb from xfs_unmountfs

xfs_readsb is called before xfs_mount so xfs_freesb should be called after
xfs_unmountfs, too. This means it now happens after a few things during
the of xfs_unmount which all have nothing to do with the superblock.

SGI-PV: 981498

SGI-Modid: xfs-linux-melb:xfs-kern:31835a

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