diff options
author | Christoph Hellwig <hch@infradead.org> | 2008-03-06 13:49:36 +1100 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-04-18 11:41:46 +1000 |
commit | a45c796867df8dabc8eed6e72898d7ba1609bd7e (patch) | |
tree | 81e67643e1bc0577dccbb7f28a35437b951b2521 | |
parent | dfa18b117974d7667a2d5b941853fac3f2e256db (diff) | |
download | op-kernel-dev-a45c796867df8dabc8eed6e72898d7ba1609bd7e.zip op-kernel-dev-a45c796867df8dabc8eed6e72898d7ba1609bd7e.tar.gz |
[XFS] Remove superflous xfs_readsb call in xfs_mountfs.
When xfs_mountfs is called by xfs_mount xfs_readsb was called 35 lines
above unconditionally, so there is no need to try to read the superblock
if it's not present. If any other port doesn't have the superblock read at
this point it should just call it directly from it's xfs_mount equivalent.
SGI-PV: 976035
SGI-Modid: xfs-linux-melb:xfs-kern:30603a
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Donald Douwsma <donaldd@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
-rw-r--r-- | fs/xfs/xfs_mount.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c index 8ed164e..41b690e 100644 --- a/fs/xfs/xfs_mount.c +++ b/fs/xfs/xfs_mount.c @@ -964,11 +964,6 @@ xfs_mountfs( int uuid_mounted = 0; int error = 0; - if (mp->m_sb_bp == NULL) { - error = xfs_readsb(mp, mfsi_flags); - if (error) - return error; - } xfs_mount_common(mp, sbp); /* |