diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_super.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c index fe52e9276aad..d2155b1de10c 100644 --- a/fs/xfs/linux-2.6/xfs_super.c +++ b/fs/xfs/linux-2.6/xfs_super.c | |||
@@ -1789,10 +1789,10 @@ xfs_fs_fill_super( | |||
1789 | */ | 1789 | */ |
1790 | error = xfs_start_flags(args, mp); | 1790 | error = xfs_start_flags(args, mp); |
1791 | if (error) | 1791 | if (error) |
1792 | goto error1; | 1792 | goto out_destroy_counters; |
1793 | error = xfs_readsb(mp, flags); | 1793 | error = xfs_readsb(mp, flags); |
1794 | if (error) | 1794 | if (error) |
1795 | goto error1; | 1795 | goto out_destroy_counters; |
1796 | error = xfs_finish_flags(args, mp); | 1796 | error = xfs_finish_flags(args, mp); |
1797 | if (error) | 1797 | if (error) |
1798 | goto error2; | 1798 | goto error2; |
@@ -1853,12 +1853,6 @@ xfs_fs_fill_super( | |||
1853 | error2: | 1853 | error2: |
1854 | if (mp->m_sb_bp) | 1854 | if (mp->m_sb_bp) |
1855 | xfs_freesb(mp); | 1855 | xfs_freesb(mp); |
1856 | error1: | ||
1857 | xfs_binval(mp->m_ddev_targp); | ||
1858 | if (mp->m_logdev_targp && mp->m_logdev_targp != mp->m_ddev_targp) | ||
1859 | xfs_binval(mp->m_logdev_targp); | ||
1860 | if (mp->m_rtdev_targp) | ||
1861 | xfs_binval(mp->m_rtdev_targp); | ||
1862 | out_destroy_counters: | 1856 | out_destroy_counters: |
1863 | xfs_icsb_destroy_counters(mp); | 1857 | xfs_icsb_destroy_counters(mp); |
1864 | xfs_close_devices(mp); | 1858 | xfs_close_devices(mp); |