xfs
[Top] [All Lists]

Re: XFS compile problem with 2.5.66-XFS

To: Jurgen Kramer <gtm.kramer@xxxxxxxxxxxx>
Subject: Re: XFS compile problem with 2.5.66-XFS
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Sat, 29 Mar 2003 15:24:30 +0000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <1048948401.5629.2.camel@xxxxxxxxxxxx>; from gtm.kramer@xxxxxxxxxxxx on Sat, Mar 29, 2003 at 03:33:22PM +0100
References: <1048948401.5629.2.camel@xxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5.1i
On Sat, Mar 29, 2003 at 03:33:22PM +0100, Jurgen Kramer wrote:
> Hi,
> 
> The current 2.5.66 from CVS has some problems compiling. It gets stuck
> at compiling XFS:

Please try the attached patch.  (I'm still wondering why I didn't see
it when testing the merge, I guess I was bitten by the broken depencies
again)


--- linux/fs/xfs/linux/xfs_super.c~     2003-03-17 02:19:15.000000000 -0500
+++ linux/fs/xfs/linux/xfs_super.c      2003-03-27 09:27:51.000000000 -0500
@@ -257,6 +257,7 @@
        };
        struct proc_xfs_info    *xfs_infop;
        struct xfs_mount        *mp = XFS_BHVTOM(bhv);
+       char b[BDEVNAME_SIZE];
 
        for (xfs_infop = xfs_info; xfs_infop->flag; xfs_infop++) {
                if (mp->m_flags & xfs_infop->flag)
@@ -274,12 +275,12 @@
 
        if (mp->m_ddev_targp->pbr_dev != mp->m_logdev_targp->pbr_dev)
                seq_printf(m, "," MNTOPT_LOGDEV "=%s",
-                               bdevname(mp->m_logdev_targp->pbr_bdev));
+                               bdevname(mp->m_logdev_targp->pbr_bdev, b));
 
        if (mp->m_rtdev_targp &&
            mp->m_ddev_targp->pbr_dev != mp->m_rtdev_targp->pbr_dev)
                seq_printf(m, "," MNTOPT_RTDEV "=%s",
-                               bdevname(mp->m_rtdev_targp->pbr_bdev));
+                               bdevname(mp->m_rtdev_targp->pbr_bdev, b));
 
        if (mp->m_dalign > 0)
                seq_printf(m, "," MNTOPT_SUNIT "=%d",


<Prev in Thread] Current Thread [Next in Thread>