xfs
[Top] [All Lists]

tabs-inside-strings cleanup

To: linux-xfs@xxxxxxxxxxx
Subject: tabs-inside-strings cleanup
From: KELEMEN Peter <fuji@xxxxxxx>
Date: Sun, 27 Oct 2002 02:07:51 +0200
Mail-followup-to: linux-xfs@xxxxxxxxxxx
Organization: ELTE Eotvos Lorand University of Sciences, Budapest, Hungary
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4i
Eric,

As agreed on IRC, here's a preliminary whitespace cleanup patch
that takes care of tabs-inside-strings cases.  Please review,
especially the xfsidbg.c chunk.  Patch is against current CVS.
(2.4)

Peter

-- 
    .+'''+.         .+'''+.         .+'''+.         .+'''+.         .+''
 Kelemen Péter     /       \       /       \       /      fuji@xxxxxxx
.+'         `+...+'         `+...+'         `+...+'         `+...+'

Index: xfs_dquot.c
===================================================================
RCS file: /cvs/linux-2.4-xfs/linux/fs/xfs/xfs_dquot.c,v
retrieving revision 1.72
diff -u -u -r1.72 xfs_dquot.c
--- xfs_dquot.c 2002/10/23 04:21:07     1.72
+++ xfs_dquot.c 2002/10/27 00:00:33
@@ -1595,31 +1595,31 @@
 xfs_qm_dqprint(xfs_dquot_t *dqp)
 {
        printk( "-----------KERNEL DQUOT----------------\n");
-       printk( "---- dquot ID  =  %d\n", (int) INT_GET(dqp->q_core.d_id, 
ARCH_CONVERT));
-       printk( "---- type      =  %s\n", XFS_QM_ISUDQ(dqp) ? "USR" : "GRP");
-       printk( "---- fs        =  0x%p\n", dqp->q_mount);
-       printk( "---- blkno     =  0x%x\n", (int) dqp->q_blkno);
-       printk( "---- boffset   =  0x%x\n", (int) dqp->q_bufoffset);
-       printk( "---- blkhlimit =  %Lu (0x%x)\n",
+       printk( "---- dquot ID  = %d\n", (int) INT_GET(dqp->q_core.d_id, 
ARCH_CONVERT));
+       printk( "---- type      = %s\n", XFS_QM_ISUDQ(dqp) ? "USR" : "GRP");
+       printk( "---- fs        = 0x%p\n", dqp->q_mount);
+       printk( "---- blkno     = 0x%x\n", (int) dqp->q_blkno);
+       printk( "---- boffset   = 0x%x\n", (int) dqp->q_bufoffset);
+       printk( "---- blkhlimit = %Lu (0x%x)\n",
               INT_GET(dqp->q_core.d_blk_hardlimit, ARCH_CONVERT),
               (int) INT_GET(dqp->q_core.d_blk_hardlimit, ARCH_CONVERT));
-       printk( "---- blkslimit =  %Lu (0x%x)\n",
+       printk( "---- blkslimit = %Lu (0x%x)\n",
               INT_GET(dqp->q_core.d_blk_softlimit, ARCH_CONVERT),
               (int)INT_GET(dqp->q_core.d_blk_softlimit, ARCH_CONVERT));
-       printk( "---- inohlimit =  %Lu (0x%x)\n",
+       printk( "---- inohlimit = %Lu (0x%x)\n",
               INT_GET(dqp->q_core.d_ino_hardlimit, ARCH_CONVERT),
               (int)INT_GET(dqp->q_core.d_ino_hardlimit, ARCH_CONVERT));
-       printk( "---- inoslimit =  %Lu (0x%x)\n",
+       printk( "---- inoslimit = %Lu (0x%x)\n",
               INT_GET(dqp->q_core.d_ino_softlimit, ARCH_CONVERT),
               (int)INT_GET(dqp->q_core.d_ino_softlimit, ARCH_CONVERT));
-       printk( "---- bcount    =  %Lu (0x%x)\n",
+       printk( "---- bcount    = %Lu (0x%x)\n",
               INT_GET(dqp->q_core.d_bcount, ARCH_CONVERT),
               (int)INT_GET(dqp->q_core.d_bcount, ARCH_CONVERT));
-       printk( "---- icount    =  %Lu (0x%x)\n",
+       printk( "---- icount    = %Lu (0x%x)\n",
               INT_GET(dqp->q_core.d_icount, ARCH_CONVERT),
               (int)INT_GET(dqp->q_core.d_icount, ARCH_CONVERT));
-       printk( "---- btimer    =  %d\n", (int)INT_GET(dqp->q_core.d_btimer, 
ARCH_CONVERT));
-       printk( "---- itimer    =  %d\n", (int)INT_GET(dqp->q_core.d_itimer, 
ARCH_CONVERT));
+       printk( "---- btimer    = %d\n", (int)INT_GET(dqp->q_core.d_btimer, 
ARCH_CONVERT));
+       printk( "---- itimer    = %d\n", (int)INT_GET(dqp->q_core.d_itimer, 
ARCH_CONVERT));
 
        printk( "---------------------------\n");
 }
Index: xfs_ialloc.c
===================================================================
RCS file: /cvs/linux-2.4-xfs/linux/fs/xfs/xfs_ialloc.c,v
retrieving revision 1.161
diff -u -u -r1.161 xfs_ialloc.c
--- xfs_ialloc.c        2002/10/23 04:21:07     1.161
+++ xfs_ialloc.c        2002/10/27 00:00:35
@@ -959,7 +959,7 @@
        up_read(&mp->m_peraglock);
        if (error) {
                cmn_err(CE_WARN,
-                       "xfs_difree: xfs_ialloc_read_agi() returned an error %d 
on %s.  Returning error.",
+                       "xfs_difree: xfs_ialloc_read_agi() returned an error %d 
on %s.  Returning error.",
                        error, mp->m_fsname);
                return error;
        }
@@ -995,7 +995,7 @@
         */
        if ((error = xfs_inobt_lookup_le(cur, agino, 0, 0, &i))) {
                cmn_err(CE_WARN,
-                       "xfs_difree: xfs_inobt_lookup_le returned()  an error 
%d on %s.  Returning error.",
+                       "xfs_difree: xfs_inobt_lookup_le returned() an error %d 
on %s.  Returning error.",
                        error, mp->m_fsname);
                goto error0;
        }
@@ -1003,7 +1003,7 @@
        if ((error = xfs_inobt_get_rec(cur, &rec.ir_startino, &rec.ir_freecount,
                        &rec.ir_free, &i, ARCH_NOCONVERT))) {
                cmn_err(CE_WARN,
-                       "xfs_difree: xfs_inobt_get_rec()  returned an error %d 
on %s.  Returning error.",
+                       "xfs_difree: xfs_inobt_get_rec() returned an error %d 
on %s.  Returning error.",
                        error, mp->m_fsname);
                goto error0;
        }
@@ -1021,7 +1021,7 @@
        rec.ir_freecount++;
        if ((error = xfs_inobt_update(cur, rec.ir_startino, rec.ir_freecount, 
rec.ir_free))) {
                cmn_err(CE_WARN,
-                       "xfs_difree: xfs_inobt_update()  returned an error %d 
on %s.  Returning error.",
+                       "xfs_difree: xfs_inobt_update() returned an error %d on 
%s.  Returning error.",
                        error, mp->m_fsname);
                goto error0;
        }
Index: xfs_inode.c
===================================================================
RCS file: /cvs/linux-2.4-xfs/linux/fs/xfs/xfs_inode.c,v
retrieving revision 1.358
diff -u -u -r1.358 xfs_inode.c
--- xfs_inode.c 2002/10/23 04:21:07     1.358
+++ xfs_inode.c 2002/10/27 00:00:39
@@ -101,7 +101,7 @@
                                        i * mp->m_sb.sb_inodesize);
                if (INT_ISZERO(dip->di_next_unlinked, ARCH_CONVERT))  {
                        xfs_fs_cmn_err(CE_ALERT, mp,
-                               "Detected a bogus zero next_unlinked field in 
incore inode buffer 0x%p.  About to pop an ASSERT.",
+                               "Detected a bogus zero next_unlinked field in 
incore inode buffer 0x%p.  About to pop an ASSERT.",
                                bp);
                        ASSERT(!INT_ISZERO(dip->di_next_unlinked, 
ARCH_CONVERT));
                }
@@ -190,7 +190,7 @@
        error = xfs_imap(mp, tp, ino, &imap, XFS_IMAP_LOOKUP);
        if (error != 0) {
                cmn_err(CE_WARN,
-       "xfs_inotobp: xfs_imap()  returned an "
+       "xfs_inotobp: xfs_imap() returned an "
        "error %d on %s.  Returning error.", error, mp->m_fsname);
                return error;
        }
@@ -204,7 +204,7 @@
            XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)) {
                cmn_err(CE_WARN,
        "xfs_inotobp: inode number (%d + %d) maps to a block outside the bounds 
"
-       "of the file system %s.  Returning EINVAL.",
+       "of the file system %s.  Returning EINVAL.",
                        imap.im_blkno, imap.im_len,mp->m_fsname);
                return XFS_ERROR(EINVAL);
        }
@@ -218,7 +218,7 @@
 
        if (error) {
                cmn_err(CE_WARN,
-       "xfs_inotobp: xfs_trans_read_buf()  returned an "
+       "xfs_inotobp: xfs_trans_read_buf() returned an "
        "error %d on %s.  Returning error.", error, mp->m_fsname);
                return error;
        }
@@ -230,7 +230,7 @@
                        XFS_RANDOM_ITOBP_INOTOBP)) {
                xfs_trans_brelse(tp, bp);
                cmn_err(CE_WARN,
-       "xfs_inotobp: XFS_TEST_ERROR()  returned an "
+       "xfs_inotobp: XFS_TEST_ERROR() returned an "
        "error on %s.  Returning EFSCORRUPTED.",  mp->m_fsname);
                return XFS_ERROR(EFSCORRUPTED);
        }
@@ -1908,7 +1908,7 @@
                                   1, 0, &agibp);
        if (error != 0) {
                cmn_err(CE_WARN,
-                       "xfs_iunlink_remove: xfs_trans_read_buf()  returned an 
error %d on %s.  Returning error.",
+                       "xfs_iunlink_remove: xfs_trans_read_buf() returned an 
error %d on %s.  Returning error.",
                        error, mp->m_fsname);
                return error;
        }
@@ -1923,7 +1923,7 @@
                        XFS_RANDOM_IUNLINK_REMOVE)) {
                xfs_trans_brelse(tp, agibp);
                cmn_err(CE_WARN,
-                       "xfs_iunlink_remove: XFS_TEST_ERROR()  returned an 
error on %s.  Returning EFSCORRUPTED.",
+                       "xfs_iunlink_remove: XFS_TEST_ERROR() returned an error 
on %s.  Returning EFSCORRUPTED.",
                         mp->m_fsname);
                return XFS_ERROR(EFSCORRUPTED);
        }
@@ -1949,7 +1949,7 @@
                error = xfs_itobp(mp, tp, ip, &dip, &ibp, 0);
                if (error) {
                        cmn_err(CE_WARN,
-                               "xfs_iunlink_remove: xfs_itobp()  returned an 
error %d on %s.  Returning error.",
+                               "xfs_iunlink_remove: xfs_itobp() returned an 
error %d on %s.  Returning error.",
                                error, mp->m_fsname);
                        return error;
                }
@@ -1996,7 +1996,7 @@
                                            &last_ibp, &last_offset);
                        if (error) {
                                cmn_err(CE_WARN,
-                       "xfs_iunlink_remove: xfs_inotobp()  returned an error 
%d on %s.  Returning error.",
+                       "xfs_iunlink_remove: xfs_inotobp() returned an error %d 
on %s.  Returning error.",
                                        error, mp->m_fsname);
                                return error;
                        }
@@ -2011,7 +2011,7 @@
                error = xfs_itobp(mp, tp, ip, &dip, &ibp, 0);
                if (error) {
                        cmn_err(CE_WARN,
-                               "xfs_iunlink_remove: xfs_itobp()  returned an 
error %d on %s.  Returning error.",
+                               "xfs_iunlink_remove: xfs_itobp() returned an 
error %d on %s.  Returning error.",
                                error, mp->m_fsname);
                        return error;
                }
Index: xfs_log_recover.c
===================================================================
RCS file: /cvs/linux-2.4-xfs/linux/fs/xfs/xfs_log_recover.c,v
retrieving revision 1.249
diff -u -u -r1.249 xfs_log_recover.c
--- xfs_log_recover.c   2002/10/23 04:21:07     1.249
+++ xfs_log_recover.c   2002/10/27 00:00:46
@@ -142,10 +142,10 @@
 {
     int b;
 
-    printk("xlog_header_check_dump:\n   SB : uuid = ");
+    printk("xlog_header_check_dump:\n  SB : uuid = ");
     for (b=0;b<16;b++) printk("%02x",((unsigned char *)&mp->m_sb.sb_uuid)[b]);
     printk(", fmt = %d\n",XLOG_FMT);
-    printk("   log: uuid = ");
+    printk("  log: uuid = ");
     for (b=0;b<16;b++) printk("%02x",((unsigned char *)&head->h_fs_uuid)[b]);
     printk(", fmt = %d\n", INT_GET(head->h_fmt, ARCH_CONVERT));
 }
Index: xfs_mount.c
===================================================================
RCS file: /cvs/linux-2.4-xfs/linux/fs/xfs/xfs_mount.c,v
retrieving revision 1.308
diff -u -u -r1.308 xfs_mount.c
--- xfs_mount.c 2002/10/23 04:21:07     1.308
+++ xfs_mount.c 2002/10/27 00:00:49
@@ -1200,7 +1200,7 @@
                        xfs_ioerror_alert("xfs_unmountfs_writesb",
                                          mp, sbp, XFS_BUF_ADDR(sbp));
                if (error && mp->m_mk_sharedro)
-                       xfs_fs_cmn_err(CE_ALERT, mp, "Superblock write error 
detected while unmounting.  Filesystem may not be marked shared readonly");
+                       xfs_fs_cmn_err(CE_ALERT, mp, "Superblock write error 
detected while unmounting. Filesystem may not be marked shared readonly");
        }
        xfs_buf_relse(sbp);
        return (error);
Index: xfs_qm_syscalls.c
===================================================================
RCS file: /cvs/linux-2.4-xfs/linux/fs/xfs/xfs_qm_syscalls.c,v
retrieving revision 1.71
diff -u -u -r1.71 xfs_qm_syscalls.c
--- xfs_qm_syscalls.c   2002/10/23 04:21:07     1.71
+++ xfs_qm_syscalls.c   2002/10/27 00:01:08
@@ -1173,11 +1173,11 @@
        xfs_dqtest_t    *d)
 {
        printk("-----------DQTEST DQUOT----------------\n");
-       printk("---- dquot ID =  %d\n", d->d_id);
-       printk("---- type     =  %s\n", XFS_QM_ISUDQ(d) ? "USR" : "GRP");
-       printk("---- fs       =  0x%p\n", d->q_mount);
-       printk("---- bcount   =  %Lu (0x%x)\n", d->d_bcount, (int)d->d_bcount);
-       printk("---- icount   =  %Lu (0x%x)\n", d->d_icount, (int)d->d_icount);
+       printk("---- dquot ID = %d\n", d->d_id);
+       printk("---- type     = %s\n", XFS_QM_ISUDQ(d) ? "USR" : "GRP");
+       printk("---- fs       = 0x%p\n", d->q_mount);
+       printk("---- bcount   = %Lu (0x%x)\n", d->d_bcount, (int)d->d_bcount);
+       printk("---- icount   = %Lu (0x%x)\n", d->d_icount, (int)d->d_icount);
        printk("---------------------------\n");
 }
 
@@ -1451,10 +1451,10 @@
        }
 
        if (qmtest_nfails) {
-               printk("**************  quotacheck failed  **************\n");
+               printk("************** quotacheck failed **************\n");
                printk("failures = %d\n", qmtest_nfails);
        } else {
-               printk("**************  quotacheck successful! 
**************\n");
+               printk("************** quotacheck successful! 
**************\n");
        }
        kmem_free(qmtest_udqtab, qmtest_hashmask * sizeof(xfs_dqhash_t));
        kmem_free(qmtest_gdqtab, qmtest_hashmask * sizeof(xfs_dqhash_t));
Index: xfs_rw.c
===================================================================
RCS file: /cvs/linux-2.4-xfs/linux/fs/xfs/xfs_rw.c,v
retrieving revision 1.368
diff -u -u -r1.368 xfs_rw.c
--- xfs_rw.c    2002/10/24 20:18:15     1.368
+++ xfs_rw.c    2002/10/27 00:01:08
@@ -231,7 +231,7 @@
 {
        cmn_err(CE_ALERT,
  "I/O error in filesystem (\"%s\") meta-data dev 0x%x block 0x%llx"
- "      (\"%s\") error %d buf count %u",
+ "  (\"%s\") error %d buf count %u",
                (!mp || !mp->m_fsname) ? "(fs name not set)" : mp->m_fsname,
                XFS_BUF_TARGET_DEV(bp),
                (__uint64_t)blkno,
Index: xfs_vnodeops.c
===================================================================
RCS file: /cvs/linux-2.4-xfs/linux/fs/xfs/xfs_vnodeops.c,v
retrieving revision 1.570
diff -u -u -r1.570 xfs_vnodeops.c
--- xfs_vnodeops.c      2002/10/23 04:21:07     1.570
+++ xfs_vnodeops.c      2002/10/27 00:01:10
@@ -1840,7 +1840,7 @@
                 */
                if (!XFS_FORCED_SHUTDOWN(tp->t_mountp)) {
                        cmn_err(CE_NOTE,
-                               "xfs_inactive:  xfs_ifree() returned an error = 
%d on %s",
+                               "xfs_inactive: xfs_ifree() returned an error = 
%d on %s",
                                error,tp->t_mountp->m_fsname);
                        xfs_force_shutdown(tp->t_mountp, XFS_METADATA_IO_ERROR);
                }
Index: xfsidbg.c
===================================================================
RCS file: /cvs/linux-2.4-xfs/linux/fs/xfs/xfsidbg.c,v
retrieving revision 1.208
diff -u -u -r1.208 xfsidbg.c
--- xfsidbg.c   2002/10/21 05:23:40     1.208
+++ xfsidbg.c   2002/10/27 00:01:14
@@ -1642,7 +1642,7 @@
                                        kdev_t_to_nr(ip->i_dev), ip->i_size);
 
        kdb_printf(
-               " i_mode = 0x%x  i_nlink = %d  i_rdev = 0x%x i_state = 0x%lx\n",
+               " i_mode = 0x%x i_nlink = %d i_rdev = 0x%x i_state = 0x%lx\n",
                                        ip->i_mode, ip->i_nlink,
                                        kdev_t_to_nr(ip->i_rdev), ip->i_state);
 
@@ -1753,7 +1753,7 @@
        for (index = 0; flags && mapping[index]; flags >>= 1, index++) {
                if (flags & 1) {
                        if ((offset + strlen(mapping[index]) + 1) >= 80) {
-                               strcat(buffer, "\n            ");
+                               strcat(buffer, "\n            ");
                                offset = 12;
                        } else if (offset > 12) {
                                strcat(buffer, " ");
@@ -2009,9 +2009,9 @@
                           trace->misc);
                kdb_symbol_print((unsigned int)trace->ra, NULL,
                        KDB_SP_SPACEB|KDB_SP_PAREN|KDB_SP_NEWLINE);
-               kdb_printf("    offset 0x%Lx size 0x%x task 0x%p\n",
+               kdb_printf("  offset 0x%Lx size 0x%x task 0x%p\n",
                           trace->offset, trace->size, trace->task);
-               kdb_printf("    flags: %s\n",
+               kdb_printf("  flags: %s\n",
                           pb_flags(trace->flags));
        }
 }
@@ -2612,7 +2612,7 @@
                kdb_printf("buf 0x%p blkno 0x%Lx ", blip->bli_buf,
                             blip->bli_format.blf_blkno);
                printflags(blip->bli_flags, bli_flags, "flags:");
-               kdb_printf("\n   ");
+               kdb_printf("\n   ");
                xfsidbg_xbuf_real(blip->bli_buf, 1);
                return;
        }
@@ -2681,7 +2681,7 @@
        kdb_printf("efd extents:\n");
        ep = &(efdp->efd_format.efd_extents[0]);
        for (i = 0; i < efdp->efd_next_extent; i++, ep++) {
-               kdb_printf("    block %Lx len %d\n",
+               kdb_printf("    block %Lx len %d\n",
                        ep->ext_start, ep->ext_len);
        }
 }
@@ -2716,7 +2716,7 @@
        kdb_printf("efi extents:\n");
        ep = &(efip->efi_format.efi_extents[0]);
        for (i = 0; i < efip->efi_next_extent; i++, ep++) {
-               kdb_printf("    block %Lx len %d\n",
+               kdb_printf("    block %Lx len %d\n",
                        ep->ext_start, ep->ext_len);
        }
 }
@@ -3267,7 +3267,7 @@
                k = ~(XFS_ATTR_LOCAL | XFS_ATTR_ROOT | XFS_ATTR_INCOMPLETE);
                if ((e->flags & k) != 0)
                        kdb_printf("0x%x", e->flags & k);
-               kdb_printf(">\n     name \"");
+               kdb_printf(">\n    name \"");
                if (e->flags & XFS_ATTR_LOCAL) {
                        l = XFS_ATTR_LEAF_NAME_LOCAL(leaf, j);
                        for (k = 0; k < l->namelen; k++)
@@ -4023,7 +4023,7 @@
 
        kdb_printf("xlog_in_core/header at 0x%p/0x%p\n",
                iclog, iclog->hic_data);
-       kdb_printf("magicno: %x  cycle: %d  version: %d  lsn: 0x%Lx\n",
+       kdb_printf("magicno: %x  cycle: %d  version: %d  lsn: 0x%Lx\n",
                INT_GET(iclog->ic_header.h_magicno, ARCH_CONVERT), 
INT_GET(iclog->ic_header.h_cycle, ARCH_CONVERT),
                INT_GET(iclog->ic_header.h_version, ARCH_CONVERT), 
INT_GET(iclog->ic_header.h_lsn, ARCH_CONVERT));
        kdb_printf("tail_lsn: 0x%Lx  len: %d  prev_block: %d  num_ops: %d\n",
@@ -4031,13 +4031,13 @@
                INT_GET(iclog->ic_header.h_prev_block, ARCH_CONVERT), 
INT_GET(iclog->ic_header.h_num_logops, ARCH_CONVERT));
        kdb_printf("cycle_data: ");
        for (i=0; i<(iclog->ic_size>>BBSHIFT); i++) {
-               kdb_printf("%x  ", INT_GET(iclog->ic_header.h_cycle_data[i], 
ARCH_CONVERT));
+               kdb_printf("%x  ", INT_GET(iclog->ic_header.h_cycle_data[i], 
ARCH_CONVERT));
        }
        kdb_printf("\n");
        kdb_printf("size: %d\n", INT_GET(iclog->ic_header.h_size, 
ARCH_CONVERT));
        kdb_printf("\n");
        kdb_printf("--------------------------------------------------\n");
-       kdb_printf("data: 0x%p  &forcesema: 0x%p  next: 0x%p bp: 0x%p\n",
+       kdb_printf("data: 0x%p  &forcesema: 0x%p  next: 0x%p bp: 0x%p\n",
                iclog->ic_datap, &iclog->ic_forcesema, iclog->ic_next,
                iclog->ic_bp);
        kdb_printf("log: 0x%p  callb: 0x%p  callb_tail: 0x%p  roundoff: %d\n",
@@ -4207,14 +4207,14 @@
        };
 
        kdb_printf("xlog at 0x%p\n", log);
-       kdb_printf("&flushsm: 0x%p  tic_cnt: %d  tic_tcnt: %d  \n",
+       kdb_printf("&flushsm: 0x%p  tic_cnt: %d  tic_tcnt: %d  \n",
                &log->l_flushsema, log->l_ticket_cnt, log->l_ticket_tcnt);
-       kdb_printf("freelist: 0x%p  tail: 0x%p  ICLOG: 0x%p  \n",
+       kdb_printf("freelist: 0x%p  tail: 0x%p  ICLOG: 0x%p  \n",
                log->l_freelist, log->l_tail, log->l_iclog);
        kdb_printf("&icloglock: 0x%p  tail_lsn: %s  last_sync_lsn: %s \n",
                &log->l_icloglock, xfs_fmtlsn(&log->l_tail_lsn),
                xfs_fmtlsn(&log->l_last_sync_lsn));
-       kdb_printf("mp: 0x%p  xbuf: 0x%p  roundoff: %d  l_covered_state: %s \n",
+       kdb_printf("mp: 0x%p  xbuf: 0x%p  roundoff: %d  l_covered_state: %s \n",
                log->l_mp, log->l_xbuf, log->l_roundoff,
                        xfsidbg_get_cstate(log->l_covered_state));
        kdb_printf("flags: ");
@@ -4232,7 +4232,7 @@
                log->l_iclog_hsize, log->l_iclog_heads);
        kdb_printf("&grant_lock: 0x%p  resHeadQ: 0x%p  wrHeadQ: 0x%p\n",
                &log->l_grant_lock, log->l_reserve_headq, log->l_write_headq);
-       kdb_printf("GResCycle: %d  GResBytes: %d  GWrCycle: %d  GWrBytes: %d\n",
+       kdb_printf("GResCycle: %d  GResBytes: %d  GWrCycle: %d  GWrBytes: %d\n",
                log->l_grant_reserve_cycle, log->l_grant_reserve_bytes,
                log->l_grant_write_cycle, log->l_grant_write_bytes);
        rbytes = log->l_grant_reserve_bytes + log->l_roundoff;
@@ -4394,9 +4394,9 @@
        };
 
        kdb_printf("xlog_ticket at 0x%p\n", tic);
-       kdb_printf("next: 0x%p  prev: 0x%p  tid: 0x%x  \n",
+       kdb_printf("next: 0x%p  prev: 0x%p  tid: 0x%x  \n",
                tic->t_next, tic->t_prev, tic->t_tid);
-       kdb_printf("curr_res: %d  unit_res: %d  ocnt: %d  cnt: %d\n",
+       kdb_printf("curr_res: %d  unit_res: %d  ocnt: %d  cnt: %d\n",
                tic->t_curr_res, tic->t_unit_res, (int)tic->t_ocnt,
                (int)tic->t_cnt);
        kdb_printf("clientid: %c  \n", tic->t_clientid);
@@ -4514,7 +4514,7 @@
                kdb_printf("[%d] type %s ", count,
                              lid_type[lip->li_type - XFS_LI_5_3_BUF + 1]);
                printflags((uint)(lip->li_flags), li_flags, "flags:");
-               kdb_printf("  lsn %s\n   ", xfs_fmtlsn(&(lip->li_lsn)));
+               kdb_printf("  lsn %s\n  ", xfs_fmtlsn(&(lip->li_lsn)));
                switch (lip->li_type) {
                case XFS_LI_BUF:
                        xfs_buf_item_print((xfs_buf_log_item_t *)lip, 1);
@@ -4890,13 +4890,13 @@
                                pag->pagf_flcount, pag->pagf_freeblks,
                                pag->pagf_longest, pag->pagf_metadata);
                if (pag->pagi_init)
-                       kdb_printf("    i_freecount %d i_inodeok %d\n",
+                       kdb_printf("  i_freecount %d i_inodeok %d\n",
                                pag->pagi_freecount, pag->pagi_inodeok);
                if (pag->pagf_init) {
                        for (busy = 0; busy < XFS_PAGB_NUM_SLOTS; busy++) {
                                if (pag->pagb_list[busy].busy_length != 0) {
                                        kdb_printf(
-               "        %04d: start %d length %d tp 0x%p\n",
+               "  %04d: start %d length %d tp 0x%p\n",
                                            busy,
                                            pag->pagb_list[busy].busy_start,
                                            pag->pagb_list[busy].busy_length,
@@ -4980,7 +4980,7 @@
        printflags(dqp->dq_flags, qflags, "flags:");
        kdb_printf("\nblkno 0x%llx\tboffset 0x%x\n",
                (unsigned long long) dqp->q_blkno, (int) dqp->q_bufoffset);
-       kdb_printf("qlock 0x%p  flock 0x%p (%s) pincount 0x%x\n",
+       kdb_printf("qlock 0x%p  flock 0x%p (%s) pincount 0x%x\n",
                &dqp->q_qlock,
                &dqp->q_flock,
                (valusema(&dqp->q_flock) <= 0) ? "LCK" : "UNLKD",


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