| To: | Jurgen Kramer <gtm.kramer@xxxxxxxxxxxx> |
|---|---|
| Subject: | Re: XFS compile problem with 2.5.66-XFS |
| From: | Eric Sandeen <sandeen@xxxxxxx> |
| Date: | Sat, 29 Mar 2003 11:53:05 -0600 (CST) |
| Cc: | linux-xfs@xxxxxxxxxxx |
| In-reply-to: | <1048948401.5629.2.camel@paragon.slim> |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
Try this patch?
--- /usr/tmp/TmpDir.21969-0/linux/fs/xfs/linux/xfs_super.c_1.259 Sat Mar
29 11:52:33 2003
+++ linux/fs/xfs/linux/xfs_super.c Sat Mar 29 11:42:57 2003
@@ -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",
I'll check it in as well.
-Eric
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Copy with extended attributes, Ben Bucksch |
|---|---|
| Next by Date: | TAKE - Fix build, Eric Sandeen |
| Previous by Thread: | XFS compile problem with 2.5.66-XFS, Jurgen Kramer |
| Next by Thread: | Re: XFS compile problem with 2.5.66-XFS, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |