| To: | xfs-oss <xfs@xxxxxxxxxxx>, xfs-dev <xfs-dev@xxxxxxx> |
|---|---|
| Subject: | [PATCH] xail idbg command doesn't increment count in each loop |
| From: | Lachlan McIlroy <lachlan@xxxxxxx> |
| Date: | Fri, 19 Sep 2008 12:38:13 +1000 |
| Reply-to: | lachlan@xxxxxxx |
| User-agent: | Thunderbird 2.0.0.16 (X11/20080707) |
count is never incremented on each log item because it is unreachable code.
--- a/fs/xfs/xfsidbg.c 2008-09-19 12:27:05.000000000 +1000
+++ b/fs/xfs/xfsidbg.c 2008-09-16 12:34:12.000000000 +1000
@@ -6249,8 +6249,8 @@ xfsidbg_xaildump(xfs_mount_t *mp)
default:
kdb_printf("Unknown item type %d\n", lip->li_type);
break;
- count++;
}
+ count++;
}
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: REVIEW: Fix for incore extent corruption., Lachlan McIlroy |
|---|---|
| Next by Date: | [PATCH V2] Fix buffer flag definitions for xbp idbg command, Lachlan McIlroy |
| Previous by Thread: | [GIT PULL] XFS update for 2.6.27, Lachlan McIlroy |
| Next by Thread: | Re: [PATCH] xail idbg command doesn't increment count in each loop, Timothy Shimmin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |