* [PATCH v3, 16/16] xfsprogs: metadump: drop a typedef in db/metadump.c
@ 2011-02-18 21:21 Alex Elder
2011-02-24 8:46 ` Dave Chinner
0 siblings, 1 reply; 2+ messages in thread
From: Alex Elder @ 2011-02-18 21:21 UTC (permalink / raw)
To: xfs
Use struct name_ent rather than its typedef, and just drop the
typedef entirely.
Signed-off-by: Alex Elder <aelder@sgi.com>
No significant changes in this version from the last version posted.
---
db/metadump.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: b/db/metadump.c
===================================================================
--- a/db/metadump.c
+++ b/db/metadump.c
@@ -341,12 +341,12 @@ copy_free_cnt_btree(
/* filename and extended attribute obfuscation routines */
-typedef struct name_ent {
+struct name_ent {
struct name_ent *next;
xfs_dahash_t hash;
int namelen;
uchar_t name[1];
-} name_ent_t;
+};
#define NAME_TABLE_SIZE 4096
@@ -356,7 +356,7 @@ static void
nametable_clear(void)
{
int i;
- name_ent_t *ent;
+ struct name_ent *ent;
for (i = 0; i < NAME_TABLE_SIZE; i++) {
while ((ent = nametable[i])) {
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-24 8:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-18 21:21 [PATCH v3, 16/16] xfsprogs: metadump: drop a typedef in db/metadump.c Alex Elder
2011-02-24 8:46 ` Dave Chinner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox