From: Alex Elder <aelder@sgi.com>
To: xfs@oss.sgi.com
Subject: [PATCH 12/12] xfsprogs: Drop a typedef in db/metadump.c
Date: Thu, 30 Dec 2010 14:42:59 -0600 [thread overview]
Message-ID: <1293741779.2294.374.camel@doink> (raw)
Use struct name_ent rather than its typedef, and just drop the
typedef entirely.
Signed-off-by: Alex Elder <aelder@sgi.com>
---
db/metadump.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: b/db/metadump.c
===================================================================
--- a/db/metadump.c
+++ b/db/metadump.c
@@ -337,12 +337,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
@@ -352,7 +352,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
reply other threads:[~2010-12-30 20:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1293741779.2294.374.camel@doink \
--to=aelder@sgi.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox