xfs
[Top] [All Lists]

TAKE 976035 - Remove superflous xfs_readsb call in xfs_mountfs.

To: sgi.bugs.xfs@xxxxxxxxxxxx, xfs@xxxxxxxxxxx
Subject: TAKE 976035 - Remove superflous xfs_readsb call in xfs_mountfs.
From: donaldd@xxxxxxx
Date: Mon, 3 Mar 2008 11:42:01 +1100 (EST)
Sender: xfs-bounce@xxxxxxxxxxx
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.


Signed-off-by: Christoph Hellwig <hch@xxxxxx>


Date:  Mon Mar  3 11:41:13 AEDT 2008
Workarea:  linuxbuild.melbourne.sgi.com:/home/donaldd/isms/2.6.x-xfs
Inspected by:  donaldd

The following file(s) were checked into:
  longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb


Modid:  xfs-linux-melb:xfs-kern:30603a
fs/xfs/xfs_mount.c - 1.420 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_mount.c.diff?r1=text&tr1=1.420&r2=text&tr2=1.419&f=h
        - Remove superflous xfs_readsb call in xfs_mountfs.



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 976035 - Remove superflous xfs_readsb call in xfs_mountfs., donaldd <=