]> git.baikalelectronics.ru Git - kernel.git/commit
[XFS] Remove superflous xfs_readsb call in xfs_mountfs.
authorChristoph Hellwig <hch@infradead.org>
Thu, 6 Mar 2008 02:49:36 +0000 (13:49 +1100)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 18 Apr 2008 01:41:46 +0000 (11:41 +1000)
commitbf45649a3ad60b7327a24b4aa702666660d2c636
tree81e67643e1bc0577dccbb7f28a35437b951b2521
parentf4a1b2f64ec8c207ad17d31c717cf2e196467c7d
[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>
fs/xfs/xfs_mount.c