aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/dir.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-07-10 11:19:29 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-07-10 11:19:29 -0400
commitdc3e130a08996e2b56381365a5ac7bb1ce2a9f47 (patch)
tree7732f4ad6ab475c57ff481ab0aed461604bfcfe2 /fs/gfs2/dir.c
parent29937ac6caa68d60c7f1a3e07b6137cf53e09e24 (diff)
[GFS2] Remove unused code from dir.c
Remove a couple of commented out, and unused lines of code. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/dir.c')
-rw-r--r--fs/gfs2/dir.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/gfs2/dir.c b/fs/gfs2/dir.c
index b0353884dd7d..13d3709e0c0b 100644
--- a/fs/gfs2/dir.c
+++ b/fs/gfs2/dir.c
@@ -78,13 +78,8 @@
78#define IS_LEAF 1 /* Hashed (leaf) directory */ 78#define IS_LEAF 1 /* Hashed (leaf) directory */
79#define IS_DINODE 2 /* Linear (stuffed dinode block) directory */ 79#define IS_DINODE 2 /* Linear (stuffed dinode block) directory */
80 80
81#if 1
82#define gfs2_disk_hash2offset(h) (((uint64_t)(h)) >> 1) 81#define gfs2_disk_hash2offset(h) (((uint64_t)(h)) >> 1)
83#define gfs2_dir_offset2hash(p) ((uint32_t)(((uint64_t)(p)) << 1)) 82#define gfs2_dir_offset2hash(p) ((uint32_t)(((uint64_t)(p)) << 1))
84#else
85#define gfs2_disk_hash2offset(h) (((uint64_t)(h)))
86#define gfs2_dir_offset2hash(p) ((uint32_t)(((uint64_t)(p))))
87#endif
88 83
89typedef int (*leaf_call_t) (struct gfs2_inode *dip, 84typedef int (*leaf_call_t) (struct gfs2_inode *dip,
90 uint32_t index, uint32_t len, uint64_t leaf_no, 85 uint32_t index, uint32_t len, uint64_t leaf_no,