From 90f835b31abbab45f55ae99c94ba5d67cacdf075 Mon Sep 17 00:00:00 2001 From: Steven Whitehouse Date: Mon, 10 Jul 2006 11:19:29 -0400 Subject: [PATCH] --- yaml --- r: 38742 b: refs/heads/master c: dc3e130a08996e2b56381365a5ac7bb1ce2a9f47 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/gfs2/dir.c | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/[refs] b/[refs] index b44d5ad5d662..5912e1fdd030 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 29937ac6caa68d60c7f1a3e07b6137cf53e09e24 +refs/heads/master: dc3e130a08996e2b56381365a5ac7bb1ce2a9f47 diff --git a/trunk/fs/gfs2/dir.c b/trunk/fs/gfs2/dir.c index b0353884dd7d..13d3709e0c0b 100644 --- a/trunk/fs/gfs2/dir.c +++ b/trunk/fs/gfs2/dir.c @@ -78,13 +78,8 @@ #define IS_LEAF 1 /* Hashed (leaf) directory */ #define IS_DINODE 2 /* Linear (stuffed dinode block) directory */ -#if 1 #define gfs2_disk_hash2offset(h) (((uint64_t)(h)) >> 1) #define gfs2_dir_offset2hash(p) ((uint32_t)(((uint64_t)(p)) << 1)) -#else -#define gfs2_disk_hash2offset(h) (((uint64_t)(h))) -#define gfs2_dir_offset2hash(p) ((uint32_t)(((uint64_t)(p)))) -#endif typedef int (*leaf_call_t) (struct gfs2_inode *dip, uint32_t index, uint32_t len, uint64_t leaf_no,